#CB42B2

Closest named color: Purpley Pink (#C83CB9). oklch(61.1% 0.21 336), rgb(203, 66, 178).

Aa

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

About this color

#CB42B2 is a medium-dark, vivid pink. In OKLCH its lightness is 61%, its chroma 0.210 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.018 away. Black text reads best on it, at 4.96:1.

Hue familyPinks
Lightnessmedium-dark (61%)
Chromavivid (0.210)
Temperaturewarm
Nearest namePurpley Pink (#C83CB9)
Black text4.96:1
White text4.23:1

Values

HEX#CB42B2
RGBrgb(203, 66, 178)
HSLhsl(311, 57%, 53%)
OKLCHoklch(61.1% 0.21 336)

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 #CB42B2 4.23:1 AA large text Lc -73.7 Content text, not long reading
Black text on #CB42B2 4.96:1 AA Lc 35.9 Non-text elements, placeholder text
#CB42B2 text on white 4.23:1 AA large text Lc 68.2 Content text, not long reading
#CB42B2 text on black 4.96:1 AA Lc -33.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

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F7E3F1

    oklch(93.6% 0.028 336.4)

  3. Step 200

    200

    #F2CBE8

    oklch(88.4% 0.058 335.2)

  4. Step 300

    300

    #EBA7DA

    oklch(80.8% 0.103 335.9)

  5. Step 400

    400

    #DE74C7

    oklch(70.6% 0.165 336)

  6. Step 500

    500 (this color)

    #CB42B2

    oklch(61.1% 0.21 336)

  7. Step 600

    600

    #BD1FA4

    oklch(55.6% 0.228 336.1)

  8. Step 700

    700

    #A30A8D

    oklch(49.2% 0.212 336)

  9. Step 800

    800

    #841272

    oklch(42.7% 0.175 336.1)

  10. Step 900

    900

    #6B1A5C

    oklch(37.7% 0.137 336.5)

  11. Step 950

    950

    #3F1136

    oklch(27% 0.087 336.3)

Export this scale for Tailwind in the Tailwind colors tool

#CB42B2 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)#446EB50.226
Deuteranopia (no green cones)#7182AF0.195
Tritanopia (no blue cones)#D54B740.104
Achromatopsia (no color)#7B7B7B0.212

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB42B2

    #CB42B2

    oklch(61.1% 0.21 336)

  • #009D5C

    #009D5C

    oklch(61.2% 0.149 155.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB42B2

    #CB42B2

    oklch(61.1% 0.21 336)

  • #A356E4

    #A356E4

    oklch(61% 0.21 306.1)

  • #E23570

    #E23570

    oklch(61.1% 0.21 6)

Open the analogous palette in the generator

Split complementary

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

  • #CB42B2

    #CB42B2

    oklch(61.1% 0.21 336)

  • #6C9300

    #6C9300

    oklch(61.1% 0.156 126.1)

  • #00988D

    #00988D

    oklch(61.1% 0.107 185.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB42B2

    #CB42B2

    oklch(61.1% 0.21 336)

  • #9A8200

    #9A8200

    oklch(61.1% 0.126 96)

  • #0093AD

    #0093AD

    oklch(61.1% 0.109 216.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB42B2

    #CB42B2

    oklch(61.1% 0.21 336)

  • #B97000

    #B97000

    oklch(61.1% 0.136 66.2)

  • #009D5C

    #009D5C

    oklch(61.2% 0.149 155.9)

  • #0089DB

    #0089DB

    oklch(61.1% 0.157 246.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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