#9F0017

Closest named color: Carmine (#9D0216). oklch(44.3% 0.179 25), rgb(159, 0, 23).

Aa

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

About this color

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

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

Values

HEX#9F0017
RGBrgb(159, 0, 23)
HSLhsl(351, 100%, 31%)
OKLCHoklch(44.3% 0.179 25)

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 #9F0017 8.44:1 AAA Lc -91.3 Preferred for body text
Black text on #9F0017 2.48:1 Fails Lc 17.5 Dividers and decoration only
#9F0017 text on white 8.44:1 AAA Lc 86.5 Fine for body text
#9F0017 text on black 2.48:1 Fails Lc -15.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 800.

  1. Step 50

    50

    #FFF2F1

    oklch(97.1% 0.014 22.8)

  2. Step 100

    100

    #FEE3E0

    oklch(93.7% 0.03 25.3)

  3. Step 200

    200

    #FECBC6

    oklch(88.5% 0.059 24.8)

  4. Step 300

    300

    #FDA69E

    oklch(80.9% 0.104 25.4)

  5. Step 400

    400

    #F7706A

    oklch(70.7% 0.167 24.8)

  6. Step 500

    500

    #EF3D41

    oklch(63% 0.214 24.8)

  7. Step 600

    600

    #D80023

    oklch(55.6% 0.225 25)

  8. Step 700

    700

    #B7001C

    oklch(49.1% 0.199 25)

  9. Step 800

    800 (this color)

    #9F0017

    oklch(44.3% 0.179 25)

  10. Step 900

    900

    #7B1016

    oklch(37.6% 0.14 25.1)

  11. Step 950

    950

    #490E0E

    oklch(27.1% 0.089 25.4)

Export this scale for Tailwind in the Tailwind colors tool

#9F0017 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)#4039150.199
Deuteranopia (no green cones)#63580D0.180
Tritanopia (no blue cones)#B0000E0.038
Achromatopsia (no color)#4D4D4D0.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F0017

    #9F0017

    oklch(44.3% 0.179 25)

  • #005F67

    #005F67

    oklch(44.3% 0.076 204.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F0017

    #9F0017

    oklch(44.3% 0.179 25)

  • #970458

    #970458

    oklch(44.3% 0.18 355.2)

  • #803F00

    #803F00

    oklch(44.3% 0.11 54.6)

Open the analogous palette in the generator

Split complementary

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

  • #9F0017

    #9F0017

    oklch(44.3% 0.179 25)

  • #006250

    #006250

    oklch(44.3% 0.084 174.4)

  • #005A7F

    #005A7F

    oklch(44.1% 0.094 235.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F0017

    #9F0017

    oklch(44.3% 0.179 25)

  • #006617

    #006617

    oklch(44.3% 0.14 144.9)

  • #2047B4

    #2047B4

    oklch(44.3% 0.179 264.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F0017

    #9F0017

    oklch(44.3% 0.179 25)

  • #525900

    #525900

    oklch(44.3% 0.1 114.9)

  • #005F67

    #005F67

    oklch(44.3% 0.076 204.8)

  • #5E32A9

    #5E32A9

    oklch(44.2% 0.179 294.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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