#CB319D

Closest named color: Medium Violet Red (#C71585). oklch(58.6% 0.216 343), rgb(203, 49, 157).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-dark (59%)
Chromavivid (0.216)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.46:1
White text4.70:1

Values

HEX#CB319D
RGBrgb(203, 49, 157)
HSLhsl(318, 61%, 49%)
OKLCHoklch(58.6% 0.216 343)

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 #CB319D 4.70:1 AA Lc -76.8 Fine for body text
Black text on #CB319D 4.46:1 AA large text Lc 32.8 Non-text elements, placeholder text
#CB319D text on white 4.70:1 AA Lc 71.3 Content text, not long reading
#CB319D text on black 4.46:1 AA large text Lc -30.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 600.

  1. Step 50

    50

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F8E3EF

    oklch(93.6% 0.028 342.3)

  3. Step 200

    200

    #F4CCE3

    oklch(88.6% 0.054 342.8)

  4. Step 300

    300

    #EDA8D1

    oklch(80.9% 0.096 343.1)

  5. Step 400

    400

    #E176BA

    oklch(70.8% 0.155 342.9)

  6. Step 500

    500

    #D54BA8

    oklch(63% 0.198 343)

  7. Step 600

    600 (this color)

    #CB319D

    oklch(58.6% 0.216 343)

  8. Step 700

    700

    #A6127E

    oklch(49.2% 0.201 343)

  9. Step 800

    800

    #871666

    oklch(42.8% 0.166 343.3)

  10. Step 900

    900

    #6C1C53

    oklch(37.6% 0.128 342.9)

  11. Step 950

    950

    #401231

    oklch(27% 0.082 342.8)

Export this scale for Tailwind in the Tailwind colors tool

#CB319D 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)#4263A00.239
Deuteranopia (no green cones)#727D9A0.208
Tritanopia (no blue cones)#D832640.094
Achromatopsia (no color)#7474740.217

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB319D

    #CB319D

    oklch(58.6% 0.216 343)

  • #009366

    #009366

    oklch(58.7% 0.127 163)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB319D

    #CB319D

    oklch(58.6% 0.216 343)

  • #A747D4

    #A747D4

    oklch(58.6% 0.215 313)

  • #DE2457

    #DE2457

    oklch(58.7% 0.216 12.8)

Open the analogous palette in the generator

Split complementary

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

  • #CB319D

    #CB319D

    oklch(58.6% 0.216 343)

  • #528F00

    #528F00

    oklch(58.5% 0.165 133)

  • #008E8C

    #008E8C

    oklch(58.5% 0.1 193)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB319D

    #CB319D

    oklch(58.6% 0.216 343)

  • #8A7E00

    #8A7E00

    oklch(58.6% 0.123 102.8)

  • #0089AB

    #0089AB

    oklch(58.5% 0.109 223.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB319D

    #CB319D

    oklch(58.6% 0.216 343)

  • #A86E00

    #A86E00

    oklch(58.5% 0.125 72.9)

  • #009366

    #009366

    oklch(58.7% 0.127 163)

  • #007CE3

    #007CE3

    oklch(58.7% 0.181 253)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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