#9E1252

Closest named color: Berry (#990F4B). oklch(45.9% 0.175 1), rgb(158, 18, 82).

Aa

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

About this color

#9E1252 is a medium-dark, vivid red. In OKLCH its lightness is 46%, its chroma 0.175 and its hue 1°. Its hue sits on the warm side of the wheel. The nearest named color is Berry (#990F4B), ΔE 0.015 away. White text reads best on it, at 7.88:1.

Hue familyReds
Lightnessmedium-dark (46%)
Chromavivid (0.175)
Temperaturewarm
Nearest nameBerry (#990F4B)
Black text2.66:1
White text7.88:1

Values

HEX#9E1252
RGBrgb(158, 18, 82)
HSLhsl(333, 80%, 35%)
OKLCHoklch(45.9% 0.175 1)

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 #9E1252 7.88:1 AAA Lc -90.4 Preferred for body text
Black text on #9E1252 2.66:1 Fails Lc 18.4 Dividers and decoration only
#9E1252 text on white 7.88:1 AAA Lc 85.6 Fine for body text
#9E1252 text on black 2.66:1 Fails Lc -16.5 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 700.

  1. Step 50

    50

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #F9E3E9

    oklch(93.5% 0.025 359.2)

  3. Step 200

    200

    #F5CDD7

    oklch(88.5% 0.047 1.3)

  4. Step 300

    300

    #EFAABD

    oklch(80.9% 0.084 1.1)

  5. Step 400

    400

    #E47A9B

    oklch(70.7% 0.135 1.3)

  6. Step 500

    500

    #D95383

    oklch(63.1% 0.173 1.2)

  7. Step 600

    600

    #C4316D

    oklch(55.6% 0.188 0.9)

  8. Step 700

    700 (this color)

    #9E1252

    oklch(45.9% 0.175 1)

  9. Step 800

    800

    #891F4A

    oklch(42.7% 0.145 1.1)

  10. Step 900

    900

    #6E213E

    oklch(37.7% 0.112 0.9)

  11. Step 950

    950

    #411424

    oklch(26.9% 0.072 1.1)

Export this scale for Tailwind in the Tailwind colors tool

#9E1252 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)#3941530.200
Deuteranopia (no green cones)#5E5B4F0.178
Tritanopia (no blue cones)#AC00320.055
Achromatopsia (no color)#5151510.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #9E1252

    #9E1252

    oklch(45.9% 0.175 1)

  • #00675A

    #00675A

    oklch(46% 0.083 180.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9E1252

    #9E1252

    oklch(45.9% 0.175 1)

  • #8B2383

    #8B2383

    oklch(46% 0.175 331.4)

  • #A31704

    #A31704

    oklch(45.9% 0.175 31)

Open the analogous palette in the generator

Split complementary

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

  • #9E1252

    #9E1252

    oklch(45.9% 0.175 1)

  • #006A31

    #006A31

    oklch(45.9% 0.123 151.1)

  • #006371

    #006371

    oklch(45.8% 0.08 211.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9E1252

    #9E1252

    oklch(45.9% 0.175 1)

  • #4F6000

    #4F6000

    oklch(45.8% 0.11 120.9)

  • #005E8D

    #005E8D

    oklch(46% 0.106 240.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9E1252

    #9E1252

    oklch(45.9% 0.175 1)

  • #6B5500

    #6B5500

    oklch(45.9% 0.094 91.4)

  • #00675A

    #00675A

    oklch(46% 0.083 180.2)

  • #3748B8

    #3748B8

    oklch(45.9% 0.177 271)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9E1252 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.