#CF040C

Closest named color: Cherry (#CF0234). oklch(53.8% 0.219 28.4), rgb(207, 4, 12).

Aa

White text reads best on this color (5.71:1).

About this color

#CF040C is a medium-dark, vivid red. In OKLCH its lightness is 54%, its chroma 0.219 and its hue 28°. Its hue sits on the warm side of the wheel. The nearest named color is Cherry (#CF0234), ΔE 0.030 away. White text reads best on it, at 5.71:1.

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.219)
Temperaturewarm
Nearest nameCherry (#CF0234)
Black text3.67:1
White text5.71:1

Values

HEX#CF040C
RGBrgb(207, 4, 12)
HSLhsl(358, 96%, 41%)
OKLCHoklch(53.8% 0.219 28.4)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #CF040C 5.71:1 AA Lc -81.2 Fine for body text
Black text on #CF040C 3.67:1 AA large text Lc 28.3 Dividers and decoration only
#CF040C text on white 5.71:1 AA Lc 75.8 Fine for body text
#CF040C text on black 3.67:1 AA large text Lc -25.9 Dividers and decoration only

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 600.

  1. Step 50

    50

    #FEF2F0

    oklch(97% 0.013 28.9)

  2. Step 100

    100

    #FDE3DF

    oklch(93.6% 0.029 28.1)

  3. Step 200

    200

    #FBCCC5

    oklch(88.4% 0.054 28.1)

  4. Step 300

    300

    #FAA89D

    oklch(80.9% 0.099 27.8)

  5. Step 400

    400

    #F37567

    oklch(70.7% 0.158 28.2)

  6. Step 500

    500

    #EA473C

    oklch(63% 0.201 28.2)

  7. Step 600

    600 (this color)

    #CF040C

    oklch(53.8% 0.219 28.4)

  8. Step 700

    700

    #B80008

    oklch(49.2% 0.201 28.3)

  9. Step 800

    800

    #960B0B

    oklch(42.7% 0.169 28.4)

  10. Step 900

    900

    #781813

    oklch(37.6% 0.131 28.3)

  11. Step 950

    950

    #47110D

    oklch(27% 0.083 28.2)

Export this scale for Tailwind in the Tailwind colors tool

#CF040C with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#574C050.241
Deuteranopia (no green cones)#8474000.213
Tritanopia (no blue cones)#E5000F0.045
Achromatopsia (no color)#6666660.220

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #CF040C

    #CF040C

    oklch(53.8% 0.219 28.4)

  • #007C8A

    #007C8A

    oklch(53.7% 0.092 208.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CF040C

    #CF040C

    oklch(53.8% 0.219 28.4)

  • #C7016D

    #C7016D

    oklch(53.9% 0.219 358.3)

  • #A35800

    #A35800

    oklch(53.8% 0.128 58.8)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #CF040C

    #CF040C

    oklch(53.8% 0.219 28.4)

  • #00806E

    #00806E

    oklch(53.7% 0.099 178.3)

  • #0076AB

    #0076AB

    oklch(53.8% 0.12 238.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CF040C

    #CF040C

    oklch(53.8% 0.219 28.4)

  • #008535

    #008535

    oklch(53.8% 0.154 148.4)

  • #3B5BEA

    #3B5BEA

    oklch(53.8% 0.218 268.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CF040C

    #CF040C

    oklch(53.8% 0.219 28.4)

  • #687700

    #687700

    oklch(53.8% 0.125 118.1)

  • #007C8A

    #007C8A

    oklch(53.7% 0.092 208.6)

  • #8240D9

    #8240D9

    oklch(53.8% 0.22 298.3)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #CF040C, closest first.

No curated palette has a color within ΔE 0.04 of #CF040C.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #CF040C in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.