#CD1231

Closest named color: Cherry (#CF0234). oklch(54.1% 0.211 22), rgb(205, 18, 49).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.211)
Temperaturewarm
Nearest nameCherry (#CF0234)
Black text3.72:1
White text5.63:1

Values

HEX#CD1231
RGBrgb(205, 18, 49)
HSLhsl(350, 84%, 44%)
OKLCHoklch(54.1% 0.211 22)

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 #CD1231 5.63:1 AA Lc -81.2 Fine for body text
Black text on #CD1231 3.72:1 AA large text Lc 28.2 Dividers and decoration only
#CD1231 text on white 5.63:1 AA Lc 75.9 Fine for body text
#CD1231 text on black 3.72:1 AA large text Lc -25.8 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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FCE3E2

    oklch(93.6% 0.028 20.4)

  3. Step 200

    200

    #FACCCA

    oklch(88.4% 0.052 21.1)

  4. Step 300

    300

    #F8A8A5

    oklch(80.8% 0.095 21.8)

  5. Step 400

    400

    #F07675

    oklch(70.7% 0.151 22.1)

  6. Step 500

    500

    #E74951

    oklch(63.1% 0.194 22)

  7. Step 600

    600 (this color)

    #CD1231

    oklch(54.1% 0.211 22)

  8. Step 700

    700

    #B60428

    oklch(49.1% 0.196 22)

  9. Step 800

    800

    #941022

    oklch(42.8% 0.163 22.2)

  10. Step 900

    900

    #761A21

    oklch(37.6% 0.126 21.9)

  11. Step 950

    950

    #461114

    oklch(27% 0.081 21.3)

Export this scale for Tailwind in the Tailwind colors tool

#CD1231 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)#564F300.234
Deuteranopia (no green cones)#82752A0.212
Tritanopia (no blue cones)#E200230.043
Achromatopsia (no color)#6767670.212

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD1231

    #CD1231

    oklch(54.1% 0.211 22)

  • #007E86

    #007E86

    oklch(54% 0.092 202.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD1231

    #CD1231

    oklch(54.1% 0.211 22)

  • #C11A7C

    #C11A7C

    oklch(54.1% 0.211 351.8)

  • #AB5200

    #AB5200

    oklch(54% 0.139 52)

Open the analogous palette in the generator

Split complementary

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

  • #CD1231

    #CD1231

    oklch(54.1% 0.211 22)

  • #008268

    #008268

    oklch(54% 0.105 172.2)

  • #0079A4

    #0079A4

    oklch(54.1% 0.111 232.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD1231

    #CD1231

    oklch(54.1% 0.211 22)

  • #0E8700

    #0E8700

    oklch(54.1% 0.182 142)

  • #2063E7

    #2063E7

    oklch(54.2% 0.211 262)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD1231

    #CD1231

    oklch(54.1% 0.211 22)

  • #717500

    #717500

    oklch(54.1% 0.12 112.1)

  • #007E86

    #007E86

    oklch(54% 0.092 202.6)

  • #774ADC

    #774ADC

    oklch(54.2% 0.21 292)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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