#9A0227

Closest named color: Carmine (#9D0216). oklch(43.5% 0.173 19.4), rgb(154, 2, 39).

Aa

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

About this color

#9A0227 is a dark, vivid red. In OKLCH its lightness is 44%, its chroma 0.173 and its hue 19°. Its hue sits on the warm side of the wheel. The nearest named color is Carmine (#9D0216), ΔE 0.019 away. White text reads best on it, at 8.70:1.

Hue familyReds
Lightnessdark (44%)
Chromavivid (0.173)
Temperaturewarm
Nearest nameCarmine (#9D0216)
Black text2.41:1
White text8.70:1

Values

HEX#9A0227
RGBrgb(154, 2, 39)
HSLhsl(345, 97%, 31%)
OKLCHoklch(43.5% 0.173 19.4)

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 #9A0227 8.70:1 AAA Lc -92.2 Preferred for body text
Black text on #9A0227 2.41:1 Fails Lc 16.5 Dividers and decoration only
#9A0227 text on white 8.70:1 AAA Lc 87.5 Fine for body text
#9A0227 text on black 2.41:1 Fails Lc -14.7 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

    #FFF2F2

    oklch(97.1% 0.014 17.4)

  2. Step 100

    100

    #FDE3E2

    oklch(93.7% 0.029 20.3)

  3. Step 200

    200

    #FCCBCA

    oklch(88.4% 0.056 19.6)

  4. Step 300

    300

    #FBA6A6

    oklch(80.9% 0.101 19.5)

  5. Step 400

    400

    #F57177

    oklch(70.8% 0.162 19.4)

  6. Step 500

    500

    #EC4054

    oklch(63.1% 0.207 19.3)

  7. Step 600

    600

    #D7003A

    oklch(55.7% 0.223 19.3)

  8. Step 700

    700

    #B6002F

    oklch(49.1% 0.197 19.5)

  9. Step 800

    800 (this color)

    #9A0227

    oklch(43.5% 0.173 19.4)

  10. Step 900

    900

    #791322

    oklch(37.6% 0.135 19.6)

  11. Step 950

    950

    #480F15

    oklch(27.1% 0.086 19.3)

Export this scale for Tailwind in the Tailwind colors tool

#9A0227 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)#3C38270.194
Deuteranopia (no green cones)#5F55220.175
Tritanopia (no blue cones)#AA00160.039
Achromatopsia (no color)#4B4B4B0.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A0227

    #9A0227

    oklch(43.5% 0.173 19.4)

  • #005D61

    #005D61

    oklch(43.5% 0.074 199.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A0227

    #9A0227

    oklch(43.5% 0.173 19.4)

  • #8F0D5F

    #8F0D5F

    oklch(43.4% 0.173 349.4)

  • #823900

    #823900

    oklch(43.6% 0.116 49.2)

Open the analogous palette in the generator

Split complementary

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

  • #9A0227

    #9A0227

    oklch(43.5% 0.173 19.4)

  • #006049

    #006049

    oklch(43.5% 0.087 169.3)

  • #005977

    #005977

    oklch(43.4% 0.086 229.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A0227

    #9A0227

    oklch(43.5% 0.173 19.4)

  • #1E6200

    #1E6200

    oklch(43.6% 0.138 139.3)

  • #0049AD

    #0049AD

    oklch(43.4% 0.172 259.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A0227

    #9A0227

    oklch(43.5% 0.173 19.4)

  • #555500

    #555500

    oklch(43.5% 0.095 109.8)

  • #005D61

    #005D61

    oklch(43.5% 0.074 199.9)

  • #5435A8

    #5435A8

    oklch(43.5% 0.174 289.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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