#CB51AF

Closest named color: Pinky Purple (#C94CBE). oklch(62.5% 0.188 337.6), rgb(203, 81, 175).

Aa

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

About this color

#CB51AF is a medium-light, vivid pink. In OKLCH its lightness is 63%, its chroma 0.188 and its hue 338°. Its hue sits on the warm side of the wheel. The nearest named color is Pinky Purple (#C94CBE), ΔE 0.027 away. Black text reads best on it, at 5.33:1.

Hue familyPinks
Lightnessmedium-light (63%)
Chromavivid (0.188)
Temperaturewarm
Nearest namePinky Purple (#C94CBE)
Black text5.33:1
White text3.93:1

Values

HEX#CB51AF
RGBrgb(203, 81, 175)
HSLhsl(314, 54%, 56%)
OKLCHoklch(62.5% 0.188 337.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 #CB51AF 3.93:1 AA large text Lc -71.5 Content text, not long reading
Black text on #CB51AF 5.33:1 AA Lc 38.1 Non-text elements, placeholder text
#CB51AF text on white 3.93:1 AA large text Lc 66.0 Content text, not long reading
#CB51AF text on black 5.33:1 AA Lc -35.6 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

    #F6E3F0

    oklch(93.5% 0.027 337.1)

  3. Step 200

    200

    #F0CDE5

    oklch(88.5% 0.05 337.5)

  4. Step 300

    300

    #E8AAD6

    oklch(80.9% 0.092 337.4)

  5. Step 400

    400

    #DA7AC1

    oklch(70.8% 0.147 337.6)

  6. Step 500

    500 (this color)

    #CB51AF

    oklch(62.5% 0.188 337.6)

  7. Step 600

    600

    #B8319C

    oklch(55.6% 0.203 337.7)

  8. Step 700

    700

    #9E2186

    oklch(49.1% 0.19 337.4)

  9. Step 800

    800

    #811F6D

    oklch(42.8% 0.158 337.6)

  10. Step 900

    900

    #682158

    oklch(37.8% 0.122 337.8)

  11. Step 950

    950

    #3D1434

    oklch(26.9% 0.079 337)

Export this scale for Tailwind in the Tailwind colors tool

#CB51AF 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)#5474B20.199
Deuteranopia (no green cones)#7987AC0.175
Tritanopia (no blue cones)#D556790.089
Achromatopsia (no color)#8080800.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB51AF

    #CB51AF

    oklch(62.5% 0.188 337.6)

  • #00A163

    #00A163

    oklch(62.4% 0.147 157.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB51AF

    #CB51AF

    oklch(62.5% 0.188 337.6)

  • #A761DD

    #A761DD

    oklch(62.5% 0.188 307.9)

  • #DF4973

    #DF4973

    oklch(62.5% 0.187 7.5)

Open the analogous palette in the generator

Split complementary

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

  • #CB51AF

    #CB51AF

    oklch(62.5% 0.188 337.6)

  • #6C9900

    #6C9900

    oklch(62.7% 0.163 127.6)

  • #009C93

    #009C93

    oklch(62.4% 0.109 187.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB51AF

    #CB51AF

    oklch(62.5% 0.188 337.6)

  • #9D8700

    #9D8700

    oklch(62.5% 0.129 97.6)

  • #0097B4

    #0097B4

    oklch(62.4% 0.112 217.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB51AF

    #CB51AF

    oklch(62.5% 0.188 337.6)

  • #BD7500

    #BD7500

    oklch(62.5% 0.137 67.9)

  • #00A163

    #00A163

    oklch(62.4% 0.147 157.5)

  • #008CE6

    #008CE6

    oklch(62.5% 0.167 247.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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