#CB2E98

Closest named color: Medium Violet Red (#C71585). oklch(58.2% 0.216 344.7), rgb(203, 46, 152).

Aa

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

About this color

#CB2E98 is a medium-dark, vivid pink. In OKLCH its lightness is 58%, its chroma 0.216 and its hue 345°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.035 away. White text reads best on it, at 4.79:1.

Hue familyPinks
Lightnessmedium-dark (58%)
Chromavivid (0.216)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.38:1
White text4.79:1

Values

HEX#CB2E98
RGBrgb(203, 46, 152)
HSLhsl(319, 63%, 49%)
OKLCHoklch(58.2% 0.216 344.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 #CB2E98 4.79:1 AA Lc -77.3 Fine for body text
Black text on #CB2E98 4.38:1 AA large text Lc 32.3 Non-text elements, placeholder text
#CB2E98 text on white 4.79:1 AA Lc 71.8 Content text, not long reading
#CB2E98 text on black 4.38:1 AA large text Lc -29.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

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F9E3EE

    oklch(93.7% 0.028 345.9)

  3. Step 200

    200

    #F4CCE1

    oklch(88.5% 0.052 345.3)

  4. Step 300

    300

    #EEA7CF

    oklch(80.8% 0.097 344.7)

  5. Step 400

    400

    #E275B7

    oklch(70.6% 0.155 344.6)

  6. Step 500

    500

    #D74BA5

    oklch(63.2% 0.198 344.7)

  7. Step 600

    600 (this color)

    #CB2E98

    oklch(58.2% 0.216 344.7)

  8. Step 700

    700

    #A7107B

    oklch(49.1% 0.201 344.5)

  9. Step 800

    800

    #881564

    oklch(42.8% 0.166 344.7)

  10. Step 900

    900

    #6D1B51

    oklch(37.6% 0.129 344.7)

  11. Step 950

    950

    #401230

    oklch(27% 0.082 343.9)

Export this scale for Tailwind in the Tailwind colors tool

#CB2E98 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)#43629B0.240
Deuteranopia (no green cones)#737C940.210
Tritanopia (no blue cones)#D92C600.092
Achromatopsia (no color)#7272720.218

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB2E98

    #CB2E98

    oklch(58.2% 0.216 344.7)

  • #009168

    #009168

    oklch(58.2% 0.123 164.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB2E98

    #CB2E98

    oklch(58.2% 0.216 344.7)

  • #A844D0

    #A844D0

    oklch(58.1% 0.215 314.7)

  • #DC2251

    #DC2251

    oklch(58.1% 0.215 14.5)

Open the analogous palette in the generator

Split complementary

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

  • #CB2E98

    #CB2E98

    oklch(58.2% 0.216 344.7)

  • #4B8F00

    #4B8F00

    oklch(58.2% 0.169 134.6)

  • #008D8D

    #008D8D

    oklch(58.3% 0.099 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB2E98

    #CB2E98

    oklch(58.2% 0.216 344.7)

  • #877E00

    #877E00

    oklch(58.3% 0.123 104.6)

  • #0088AB

    #0088AB

    oklch(58.2% 0.11 224.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB2E98

    #CB2E98

    oklch(58.2% 0.216 344.7)

  • #A56E00

    #A56E00

    oklch(58.2% 0.123 74.5)

  • #009168

    #009168

    oklch(58.2% 0.123 164.8)

  • #0078E7

    #0078E7

    oklch(58.1% 0.19 254.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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