#CB51AB

Closest named color: Pinky Purple (#C94CBE). oklch(62.3% 0.185 339.2), rgb(203, 81, 171).

Aa

Black text reads best on this color (5.30:1).

About this color

#CB51AB is a medium-light, vivid pink. In OKLCH its lightness is 62%, its chroma 0.185 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Pinky Purple (#C94CBE), ΔE 0.033 away. Black text reads best on it, at 5.30:1.

Hue familyPinks
Lightnessmedium-light (62%)
Chromavivid (0.185)
Temperaturewarm
Nearest namePinky Purple (#C94CBE)
Black text5.30:1
White text3.95:1

Values

HEX#CB51AB
RGBrgb(203, 81, 171)
HSLhsl(316, 54%, 56%)
OKLCHoklch(62.3% 0.185 339.2)

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 #CB51AB 3.95:1 AA large text Lc -71.7 Content text, not long reading
Black text on #CB51AB 5.30:1 AA Lc 37.8 Non-text elements, placeholder text
#CB51AB text on white 3.95:1 AA large text Lc 66.2 Content text, not long reading
#CB51AB text on black 5.30:1 AA Lc -35.4 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #FBF2F8

    oklch(97% 0.012 337.5)

  2. Step 100

    100

    #F7E3F0

    oklch(93.6% 0.028 338.6)

  3. Step 200

    200

    #F1CDE4

    oklch(88.5% 0.05 339.6)

  4. Step 300

    300

    #E8AAD4

    oklch(80.9% 0.09 338.9)

  5. Step 400

    400

    #DA7ABE

    oklch(70.6% 0.145 339)

  6. Step 500

    500 (this color)

    #CB51AB

    oklch(62.3% 0.185 339.2)

  7. Step 600

    600

    #B93299

    oklch(55.7% 0.201 339.2)

  8. Step 700

    700

    #9F2282

    oklch(49.1% 0.187 339.4)

  9. Step 800

    800

    #81206A

    oklch(42.7% 0.154 339.2)

  10. Step 900

    900

    #682156

    oklch(37.7% 0.12 339.2)

  11. Step 950

    950

    #3D1532

    oklch(27% 0.075 339.5)

Export this scale for Tailwind in the Tailwind colors tool

#CB51AB 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)#5674AE0.197
Deuteranopia (no green cones)#7B87A80.174
Tritanopia (no blue cones)#D655770.086
Achromatopsia (no color)#8080800.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB51AB

    #CB51AB

    oklch(62.3% 0.185 339.2)

  • #00A067

    #00A067

    oklch(62.2% 0.142 159.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB51AB

    #CB51AB

    oklch(62.3% 0.185 339.2)

  • #A861DA

    #A861DA

    oklch(62.4% 0.185 309.1)

  • #DE4A6F

    #DE4A6F

    oklch(62.3% 0.185 9.3)

Open the analogous palette in the generator

Split complementary

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

  • #CB51AB

    #CB51AB

    oklch(62.3% 0.185 339.2)

  • #679900

    #679900

    oklch(62.3% 0.166 129.1)

  • #009C95

    #009C95

    oklch(62.5% 0.108 189.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB51AB

    #CB51AB

    oklch(62.3% 0.185 339.2)

  • #9B8700

    #9B8700

    oklch(62.3% 0.129 98.7)

  • #0096B5

    #0096B5

    oklch(62.2% 0.113 219.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB51AB

    #CB51AB

    oklch(62.3% 0.185 339.2)

  • #BB7500

    #BB7500

    oklch(62.3% 0.136 68.8)

  • #00A067

    #00A067

    oklch(62.2% 0.142 159.3)

  • #008BE9

    #008BE9

    oklch(62.4% 0.172 248.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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