#9A0233

Closest named color: Cranberry (#9E003A). oklch(43.7% 0.174 14.2), rgb(154, 2, 51).

Aa

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

About this color

#9A0233 is a dark, vivid red. In OKLCH its lightness is 44%, its chroma 0.174 and its hue 14°. Its hue sits on the warm side of the wheel. The nearest named color is Cranberry (#9E003A), ΔE 0.013 away. White text reads best on it, at 8.64:1.

Hue familyReds
Lightnessdark (44%)
Chromavivid (0.174)
Temperaturewarm
Nearest nameCranberry (#9E003A)
Black text2.43:1
White text8.64:1

Values

HEX#9A0233
RGBrgb(154, 2, 51)
HSLhsl(341, 97%, 31%)
OKLCHoklch(43.7% 0.174 14.2)

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 #9A0233 8.64:1 AAA Lc -92.0 Preferred for body text
Black text on #9A0233 2.43:1 Fails Lc 16.7 Dividers and decoration only
#9A0233 text on white 8.64:1 AAA Lc 87.3 Fine for body text
#9A0233 text on black 2.43:1 Fails Lc -14.8 Not readable

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 800.

  1. Step 50

    50

    #FEF2F3

    oklch(97.1% 0.013 11.5)

  2. Step 100

    100

    #FDE2E4

    oklch(93.5% 0.03 12.6)

  3. Step 200

    200

    #FCCBCE

    oklch(88.6% 0.056 14.1)

  4. Step 300

    300

    #FBA5AC

    oklch(80.8% 0.102 14.3)

  5. Step 400

    400

    #F47081

    oklch(70.7% 0.162 14.3)

  6. Step 500

    500

    #EB3F62

    oklch(63.1% 0.207 14.1)

  7. Step 600

    600

    #D50049

    oklch(55.5% 0.222 14.3)

  8. Step 700

    700

    #B5003D

    oklch(49.2% 0.197 14.2)

  9. Step 800

    800 (this color)

    #9A0233

    oklch(43.7% 0.174 14.2)

  10. Step 900

    900

    #79122B

    oklch(37.7% 0.136 14)

  11. Step 950

    950

    #470E19

    oklch(26.9% 0.086 14.1)

Export this scale for Tailwind in the Tailwind colors tool

#9A0233 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)#3B39330.195
Deuteranopia (no green cones)#5E562F0.178
Tritanopia (no blue cones)#AA001D0.044
Achromatopsia (no color)#4C4C4C0.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A0233

    #9A0233

    oklch(43.7% 0.174 14.2)

  • #005E5E

    #005E5E

    oklch(43.6% 0.074 194.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A0233

    #9A0233

    oklch(43.7% 0.174 14.2)

  • #8D1268

    #8D1268

    oklch(43.7% 0.174 344.4)

  • #883400

    #883400

    oklch(43.8% 0.127 44.2)

Open the analogous palette in the generator

Split complementary

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

  • #9A0233

    #9A0233

    oklch(43.7% 0.174 14.2)

  • #006144

    #006144

    oklch(43.6% 0.092 164.5)

  • #005B73

    #005B73

    oklch(43.8% 0.082 223.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A0233

    #9A0233

    oklch(43.7% 0.174 14.2)

  • #316000

    #316000

    oklch(43.8% 0.127 134.4)

  • #00519C

    #00519C

    oklch(43.8% 0.14 254)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A0233

    #9A0233

    oklch(43.7% 0.174 14.2)

  • #5A5400

    #5A5400

    oklch(43.8% 0.093 104.8)

  • #005E5E

    #005E5E

    oklch(43.6% 0.074 194.8)

  • #4C39AB

    #4C39AB

    oklch(43.7% 0.173 284.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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