#CB1231

Closest named color: Cherry (#CF0234). oklch(53.7% 0.209 21.8), rgb(203, 18, 49).

Aa

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

About this color

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

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

Values

HEX#CB1231
RGBrgb(203, 18, 49)
HSLhsl(350, 84%, 43%)
OKLCHoklch(53.7% 0.209 21.8)

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 #CB1231 5.72:1 AA Lc -81.7 Fine for body text
Black text on #CB1231 3.67:1 AA large text Lc 27.7 Dividers and decoration only
#CB1231 text on white 5.72:1 AA Lc 76.4 Fine for body text
#CB1231 text on black 3.67:1 AA large text Lc -25.4 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

    #F8A9A5

    oklch(81% 0.094 22.6)

  5. Step 400

    400

    #F07676

    oklch(70.8% 0.151 21.6)

  6. Step 500

    500

    #E64A52

    oklch(63% 0.192 21.8)

  7. Step 600

    600 (this color)

    #CB1231

    oklch(53.7% 0.209 21.8)

  8. Step 700

    700

    #B50829

    oklch(49.1% 0.194 21.8)

  9. Step 800

    800

    #931123

    oklch(42.7% 0.161 21.8)

  10. Step 900

    900

    #761A21

    oklch(37.6% 0.126 21.9)

  11. Step 950

    950

    #461214

    oklch(27.1% 0.08 22)

Export this scale for Tailwind in the Tailwind colors tool

#CB1231 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)#554E300.232
Deuteranopia (no green cones)#80732A0.210
Tritanopia (no blue cones)#E000220.043
Achromatopsia (no color)#6666660.211

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB1231

    #CB1231

    oklch(53.7% 0.209 21.8)

  • #007D84

    #007D84

    oklch(53.7% 0.091 201.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB1231

    #CB1231

    oklch(53.7% 0.209 21.8)

  • #BF1A7B

    #BF1A7B

    oklch(53.8% 0.209 351.7)

  • #AA5100

    #AA5100

    oklch(53.7% 0.139 51.7)

Open the analogous palette in the generator

Split complementary

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

  • #CB1231

    #CB1231

    oklch(53.7% 0.209 21.8)

  • #008167

    #008167

    oklch(53.7% 0.104 172.1)

  • #0078A2

    #0078A2

    oklch(53.8% 0.109 231.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB1231

    #CB1231

    oklch(53.7% 0.209 21.8)

  • #118500

    #118500

    oklch(53.6% 0.179 141.8)

  • #1F62E4

    #1F62E4

    oklch(53.7% 0.209 261.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB1231

    #CB1231

    oklch(53.7% 0.209 21.8)

  • #707400

    #707400

    oklch(53.7% 0.119 112.2)

  • #007D84

    #007D84

    oklch(53.7% 0.091 201.7)

  • #7549DA

    #7549DA

    oklch(53.7% 0.209 291.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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