#9F1248

Closest named color: Berry (#990F4B). oklch(45.8% 0.173 6.3), rgb(159, 18, 72).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (46%)
Chromavivid (0.173)
Temperaturewarm
Nearest nameBerry (#990F4B)
Black text2.65:1
White text7.91:1

Values

HEX#9F1248
RGBrgb(159, 18, 72)
HSLhsl(337, 80%, 35%)
OKLCHoklch(45.8% 0.173 6.3)

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 #9F1248 7.91:1 AAA Lc -90.5 Preferred for body text
Black text on #9F1248 2.65:1 Fails Lc 18.4 Dividers and decoration only
#9F1248 text on white 7.91:1 AAA Lc 85.6 Fine for body text
#9F1248 text on black 2.65:1 Fails Lc -16.4 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

    #FEF2F4

    oklch(97.1% 0.013 5.8)

  2. Step 100

    100

    #FCE2E7

    oklch(93.5% 0.029 4.5)

  3. Step 200

    200

    #FBCAD3

    oklch(88.4% 0.057 6)

  4. Step 300

    300

    #F9A5B6

    oklch(80.9% 0.101 6.3)

  5. Step 400

    400

    #F17090

    oklch(70.7% 0.161 6.6)

  6. Step 500

    500

    #E83F75

    oklch(63% 0.207 6.4)

  7. Step 600

    600

    #D3005E

    oklch(55.6% 0.223 6.5)

  8. Step 700

    700

    #B2004F

    oklch(49% 0.197 6.1)

  9. Step 800

    800 (this color)

    #9F1248

    oklch(45.8% 0.173 6.3)

  10. Step 900

    900

    #771236

    oklch(37.6% 0.135 6.2)

  11. Step 950

    950

    #460E20

    oklch(26.9% 0.086 5.7)

Export this scale for Tailwind in the Tailwind colors tool

#9F1248 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)#3C40490.197
Deuteranopia (no green cones)#605B450.177
Tritanopia (no blue cones)#AE002C0.049
Achromatopsia (no color)#5151510.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #9F1248

    #9F1248

    oklch(45.8% 0.173 6.3)

  • #00665E

    #00665E

    oklch(45.9% 0.081 185.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9F1248

    #9F1248

    oklch(45.8% 0.173 6.3)

  • #8E217B

    #8E217B

    oklch(45.9% 0.173 336.2)

  • #9B2900

    #9B2900

    oklch(45.8% 0.156 36.3)

Open the analogous palette in the generator

Split complementary

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

  • #9F1248

    #9F1248

    oklch(45.8% 0.173 6.3)

  • #00693D

    #00693D

    oklch(45.8% 0.11 156.5)

  • #006275

    #006275

    oklch(45.8% 0.082 217.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9F1248

    #9F1248

    oklch(45.8% 0.173 6.3)

  • #476200

    #476200

    oklch(45.7% 0.117 126.1)

  • #005B95

    #005B95

    oklch(45.8% 0.119 246.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9F1248

    #9F1248

    oklch(45.8% 0.173 6.3)

  • #675700

    #675700

    oklch(45.9% 0.095 96.7)

  • #00665E

    #00665E

    oklch(45.9% 0.081 185.5)

  • #4345B5

    #4345B5

    oklch(45.8% 0.173 276.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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