Color Reference · Scarlet Flame

#CC402A

oklch(57.1% 0.18 32)

HEX
#CC402A
OKLCH
oklch(57.1% 0.18 32)
RGB
rgb(204, 64, 42)
HSL
hsl(8deg 66% 48%)
Relative Luminance
Y = 0.1667

Using #CC402A as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 4.85:1
AA
Sample text on Slate (#0F172A)
Contrast ratio 3.68:1
AA Large

Using #CC402A as Button / Surface Fill

White ink (#FFFFFF) on #CC402A
Contrast ratio 4.85:1
AA
Dark ink (#0F172A) on #CC402A
Contrast ratio 3.68:1
AA Large

Recommended accessible ink on #CC402A: #FFFFFF.

OKLCH Tonal Scale (50–950)

Click any shade step to inspect its conversions and contrast profile.

Export Tailwind CSS v4 Scale →

OKLCH Color Harmonies from #CC402A