#CB015A

Closest named color: Ruby (#CA0147). oklch(54.1% 0.216 6.6), rgb(203, 1, 90).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.216)
Temperaturewarm
Nearest nameRuby (#CA0147)
Black text3.69:1
White text5.68:1

Values

HEX#CB015A
RGBrgb(203, 1, 90)
HSLhsl(334, 99%, 40%)
OKLCHoklch(54.1% 0.216 6.6)

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 #CB015A 5.68:1 AA Lc -81.2 Fine for body text
Black text on #CB015A 3.69:1 AA large text Lc 28.2 Dividers and decoration only
#CB015A text on white 5.68:1 AA Lc 75.8 Fine for body text
#CB015A text on black 3.69: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

    #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

    #F7A6B6

    oklch(80.8% 0.097 6.5)

  5. Step 400

    400

    #EF7291

    oklch(70.7% 0.156 6.3)

  6. Step 500

    500

    #E54476

    oklch(63% 0.199 6.3)

  7. Step 600

    600 (this color)

    #CB015A

    oklch(54.1% 0.216 6.6)

  8. Step 700

    700

    #B2004E

    oklch(49% 0.197 6.6)

  9. Step 800

    800

    #920840

    oklch(42.7% 0.166 6.5)

  10. Step 900

    900

    #751636

    oklch(37.6% 0.13 6.4)

  11. Step 950

    950

    #451020

    oklch(27% 0.082 6.2)

Export this scale for Tailwind in the Tailwind colors tool

#CB015A 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)#4B4F5B0.246
Deuteranopia (no green cones)#7A73560.221
Tritanopia (no blue cones)#DE00340.065
Achromatopsia (no color)#6767670.218

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB015A

    #CB015A

    oklch(54.1% 0.216 6.6)

  • #008078

    #008078

    oklch(54% 0.094 187.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB015A

    #CB015A

    oklch(54.1% 0.216 6.6)

  • #B5229C

    #B5229C

    oklch(54% 0.216 336.5)

  • #C13700

    #C13700

    oklch(54% 0.182 36.7)

Open the analogous palette in the generator

Split complementary

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

  • #CB015A

    #CB015A

    oklch(54.1% 0.216 6.6)

  • #00844E

    #00844E

    oklch(54% 0.13 156.5)

  • #007C93

    #007C93

    oklch(54.1% 0.096 216.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB015A

    #CB015A

    oklch(54.1% 0.216 6.6)

  • #5A7C00

    #5A7C00

    oklch(54% 0.138 126.3)

  • #0073BB

    #0073BB

    oklch(54% 0.141 246.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB015A

    #CB015A

    oklch(54.1% 0.216 6.6)

  • #826E00

    #826E00

    oklch(54.1% 0.111 96.5)

  • #008078

    #008078

    oklch(54% 0.094 187.2)

  • #5655E8

    #5655E8

    oklch(54.1% 0.216 276.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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