#CB397A

Closest named color: Dark Pink (#CB416B). oklch(57.9% 0.19 357.8), rgb(203, 57, 122).

Aa

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

About this color

#CB397A is a medium-dark, vivid red. In OKLCH its lightness is 58%, its chroma 0.190 and its hue 358°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Pink (#CB416B), ΔE 0.030 away. White text reads best on it, at 4.76:1.

Hue familyReds
Lightnessmedium-dark (58%)
Chromavivid (0.190)
Temperaturewarm
Nearest nameDark Pink (#CB416B)
Black text4.40:1
White text4.76:1

Values

HEX#CB397A
RGBrgb(203, 57, 122)
HSLhsl(333, 58%, 51%)
OKLCHoklch(57.9% 0.19 357.8)

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 #CB397A 4.76:1 AA Lc -77.4 Fine for body text
Black text on #CB397A 4.40:1 AA large text Lc 32.2 Non-text elements, placeholder text
#CB397A text on white 4.76:1 AA Lc 71.9 Content text, not long reading
#CB397A text on black 4.40:1 AA large text Lc -29.8 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

    #FCF2F5

    oklch(97% 0.011 357)

  2. Step 100

    100

    #F9E3EA

    oklch(93.6% 0.026 356.3)

  3. Step 200

    200

    #F5CDD9

    oklch(88.6% 0.048 358.2)

  4. Step 300

    300

    #EFAAC0

    oklch(80.9% 0.085 358.4)

  5. Step 400

    400

    #E37AA0

    oklch(70.7% 0.136 358.1)

  6. Step 500

    500

    #D85389

    oklch(63.2% 0.174 358.1)

  7. Step 600

    600 (this color)

    #CB397A

    oklch(57.9% 0.19 357.8)

  8. Step 700

    700

    #A82161

    oklch(49.2% 0.177 357.7)

  9. Step 800

    800

    #881F4F

    oklch(42.7% 0.146 357.7)

  10. Step 900

    900

    #6E2041

    oklch(37.7% 0.115 358.2)

  11. Step 950

    950

    #411426

    oklch(27% 0.073 358.3)

Export this scale for Tailwind in the Tailwind colors tool

#CB397A 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)#56617C0.213
Deuteranopia (no green cones)#7E7D770.192
Tritanopia (no blue cones)#DB27550.059
Achromatopsia (no color)#7373730.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #CB397A

    #CB397A

    oklch(57.9% 0.19 357.8)

  • #008E7A

    #008E7A

    oklch(57.9% 0.106 178.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CB397A

    #CB397A

    oklch(57.9% 0.19 357.8)

  • #B246B2

    #B246B2

    oklch(57.9% 0.19 327.7)

  • #D33B33

    #D33B33

    oklch(57.9% 0.19 27.8)

Open the analogous palette in the generator

Split complementary

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

  • #CB397A

    #CB397A

    oklch(57.9% 0.19 357.8)

  • #009338

    #009338

    oklch(57.8% 0.168 147.7)

  • #008A99

    #008A99

    oklch(57.9% 0.1 208.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CB397A

    #CB397A

    oklch(57.9% 0.19 357.8)

  • #748400

    #748400

    oklch(58% 0.135 117.9)

  • #0083BC

    #0083BC

    oklch(57.9% 0.128 237.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CB397A

    #CB397A

    oklch(57.9% 0.19 357.8)

  • #977500

    #977500

    oklch(57.9% 0.118 88.3)

  • #008E7A

    #008E7A

    oklch(57.9% 0.106 178.1)

  • #4A6EE9

    #4A6EE9

    oklch(58% 0.19 267.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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