#CF0218

Closest named color: Cherry (#CF0234). oklch(53.8% 0.218 26.7), rgb(207, 2, 24).

Aa

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

About this color

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

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

Values

HEX#CF0218
RGBrgb(207, 2, 24)
HSLhsl(354, 98%, 41%)
OKLCHoklch(53.8% 0.218 26.7)

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 #CF0218 5.71:1 AA Lc -81.2 Fine for body text
Black text on #CF0218 3.67:1 AA large text Lc 28.3 Dividers and decoration only
#CF0218 text on white 5.71:1 AA Lc 75.8 Fine for body text
#CF0218 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

    #FEF2F1

    oklch(97% 0.013 23.2)

  2. Step 100

    100

    #FDE3E0

    oklch(93.6% 0.029 25.6)

  3. Step 200

    200

    #FBCCC6

    oklch(88.4% 0.054 26.7)

  4. Step 300

    300

    #FAA89F

    oklch(80.9% 0.099 26.3)

  5. Step 400

    400

    #F3756A

    oklch(70.8% 0.157 26.9)

  6. Step 500

    500

    #EA4741

    oklch(63.1% 0.201 26.8)

  7. Step 600

    600 (this color)

    #CF0218

    oklch(53.8% 0.218 26.7)

  8. Step 700

    700

    #B70013

    oklch(49% 0.2 26.8)

  9. Step 800

    800

    #960A12

    oklch(42.8% 0.168 26.8)

  10. Step 900

    900

    #781817

    oklch(37.7% 0.131 26.6)

  11. Step 950

    950

    #47110E

    oklch(27.1% 0.083 27.3)

Export this scale for Tailwind in the Tailwind colors tool

#CF0218 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)#564C140.242
Deuteranopia (no green cones)#8374050.216
Tritanopia (no blue cones)#E500120.045
Achromatopsia (no color)#6666660.220

Harmonies

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

Complementary

The opposite hue (180°).

  • #CF0218

    #CF0218

    oklch(53.8% 0.218 26.7)

  • #007D89

    #007D89

    oklch(53.9% 0.092 206.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CF0218

    #CF0218

    oklch(53.8% 0.218 26.7)

  • #C50470

    #C50470

    oklch(53.7% 0.218 356.8)

  • #A55600

    #A55600

    oklch(53.8% 0.131 56.6)

Open the analogous palette in the generator

Split complementary

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

  • #CF0218

    #CF0218

    oklch(53.8% 0.218 26.7)

  • #00816D

    #00816D

    oklch(53.9% 0.1 176.7)

  • #0077A9

    #0077A9

    oklch(53.9% 0.117 236.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CF0218

    #CF0218

    oklch(53.8% 0.218 26.7)

  • #00852D

    #00852D

    oklch(53.7% 0.161 146.8)

  • #355CEA

    #355CEA

    oklch(53.7% 0.218 266.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CF0218

    #CF0218

    oklch(53.8% 0.218 26.7)

  • #6A7600

    #6A7600

    oklch(53.7% 0.123 116.6)

  • #007D89

    #007D89

    oklch(53.9% 0.092 206.6)

  • #7F42DA

    #7F42DA

    oklch(53.8% 0.218 296.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

Use #CF0218 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.