#CB0C5A

Closest named color: Ruby (#CA0147). oklch(54.3% 0.213 7), rgb(203, 12, 90).

Aa

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

About this color

#CB0C5A is a medium-dark, vivid red. In OKLCH its lightness is 54%, its chroma 0.213 and its hue 7°. Its hue sits on the warm side of the wheel. The nearest named color is Ruby (#CA0147), ΔE 0.026 away. White text reads best on it, at 5.61:1.

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.213)
Temperaturewarm
Nearest nameRuby (#CA0147)
Black text3.73:1
White text5.61:1

Values

HEX#CB0C5A
RGBrgb(203, 12, 90)
HSLhsl(335, 89%, 42%)
OKLCHoklch(54.3% 0.213 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 #CB0C5A 5.61:1 AA Lc -81.1 Fine for body text
Black text on #CB0C5A 3.73:1 AA large text Lc 28.3 Dividers and decoration only
#CB0C5A text on white 5.61:1 AA Lc 75.8 Fine for body text
#CB0C5A text on black 3.73:1 AA large text Lc -26.0 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

    #FEF2F4

    oklch(97.1% 0.013 5.8)

  2. Step 100

    100

    #FCE3E7

    oklch(93.7% 0.028 6.7)

  3. Step 200

    200

    #FACBD3

    oklch(88.5% 0.054 6.8)

  4. Step 300

    300

    #F7A7B6

    oklch(81% 0.096 7.1)

  5. Step 400

    400

    #EE7390

    oklch(70.7% 0.154 7)

  6. Step 500

    500

    #E44675

    oklch(63% 0.196 6.9)

  7. Step 600

    600 (this color)

    #CB0C5A

    oklch(54.3% 0.213 7)

  8. Step 700

    700

    #B3004D

    oklch(49.2% 0.197 7.2)

  9. Step 800

    800

    #910B3F

    oklch(42.6% 0.164 7)

  10. Step 900

    900

    #751836

    oklch(37.7% 0.128 6.9)

  11. Step 950

    950

    #451020

    oklch(27% 0.082 6.2)

Export this scale for Tailwind in the Tailwind colors tool

#CB0C5A 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)#4D515B0.242
Deuteranopia (no green cones)#7B74560.218
Tritanopia (no blue cones)#DE00360.062
Achromatopsia (no color)#6767670.215

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB0C5A

    #CB0C5A

    oklch(54.3% 0.213 7)

  • #008179

    #008179

    oklch(54.3% 0.095 187.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB0C5A

    #CB0C5A

    oklch(54.3% 0.213 7)

  • #B6259B

    #B6259B

    oklch(54.3% 0.214 337.2)

  • #C23800

    #C23800

    oklch(54.3% 0.182 36.9)

Open the analogous palette in the generator

Split complementary

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

  • #CB0C5A

    #CB0C5A

    oklch(54.3% 0.213 7)

  • #008550

    #008550

    oklch(54.3% 0.129 157.1)

  • #007D94

    #007D94

    oklch(54.4% 0.097 216.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB0C5A

    #CB0C5A

    oklch(54.3% 0.213 7)

  • #597D00

    #597D00

    oklch(54.2% 0.14 127)

  • #0074BD

    #0074BD

    oklch(54.4% 0.143 246.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB0C5A

    #CB0C5A

    oklch(54.3% 0.213 7)

  • #826F00

    #826F00

    oklch(54.3% 0.112 97.2)

  • #008179

    #008179

    oklch(54.3% 0.095 187.2)

  • #5756E7

    #5756E7

    oklch(54.2% 0.213 276.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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