#940F31

Closest named color: Cranberry (#9E003A). oklch(43% 0.163 15.3), rgb(148, 15, 49).

Aa

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

About this color

#940F31 is a dark, vivid red. In OKLCH its lightness is 43%, its chroma 0.163 and its hue 15°. Its hue sits on the warm side of the wheel. The nearest named color is Cranberry (#9E003A), ΔE 0.025 away. White text reads best on it, at 8.85:1.

Hue familyReds
Lightnessdark (43%)
Chromavivid (0.163)
Temperaturewarm
Nearest nameCranberry (#9E003A)
Black text2.37:1
White text8.85:1

Values

HEX#940F31
RGBrgb(148, 15, 49)
HSLhsl(345, 82%, 32%)
OKLCHoklch(43% 0.163 15.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 #940F31 8.85:1 AAA Lc -93.0 Preferred for body text
Black text on #940F31 2.37:1 Fails Lc 15.6 Dividers and decoration only
#940F31 text on white 8.85:1 AAA Lc 88.4 Fine for body text
#940F31 text on black 2.37:1 Fails Lc -13.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

    #FCE3E4

    oklch(93.6% 0.028 14.9)

  3. Step 200

    200

    #FACCCE

    oklch(88.6% 0.052 15.2)

  4. Step 300

    300

    #F8A7AC

    oklch(80.8% 0.096 15.4)

  5. Step 400

    400

    #F07481

    oklch(70.7% 0.153 15.3)

  6. Step 500

    500

    #E64762

    oklch(63% 0.195 15.1)

  7. Step 600

    600

    #D21949

    oklch(55.7% 0.212 15.3)

  8. Step 700

    700

    #B5003A

    oklch(49.1% 0.196 15.4)

  9. Step 800

    800 (this color)

    #940F31

    oklch(43% 0.163 15.3)

  10. Step 900

    900

    #76192B

    oklch(37.7% 0.126 15.1)

  11. Step 950

    950

    #461119

    oklch(27.1% 0.081 15.7)

Export this scale for Tailwind in the Tailwind colors tool

#940F31 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)#3B39310.183
Deuteranopia (no green cones)#5C542D0.166
Tritanopia (no blue cones)#A3001F0.037
Achromatopsia (no color)#4A4A4A0.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #940F31

    #940F31

    oklch(43% 0.163 15.3)

  • #005C5C

    #005C5C

    oklch(43% 0.073 194.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #940F31

    #940F31

    oklch(43% 0.163 15.3)

  • #881863

    #881863

    oklch(43% 0.163 345.4)

  • #843400

    #843400

    oklch(43.1% 0.123 45.3)

Open the analogous palette in the generator

Split complementary

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

  • #940F31

    #940F31

    oklch(43% 0.163 15.3)

  • #005F44

    #005F44

    oklch(43% 0.09 165.7)

  • #005872

    #005872

    oklch(42.9% 0.082 226.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #940F31

    #940F31

    oklch(43% 0.163 15.3)

  • #2D5E00

    #2D5E00

    oklch(43% 0.126 135.3)

  • #004E9C

    #004E9C

    oklch(43.1% 0.143 255.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #940F31

    #940F31

    oklch(43% 0.163 15.3)

  • #575200

    #575200

    oklch(43% 0.091 105.6)

  • #005C5C

    #005C5C

    oklch(43% 0.073 194.8)

  • #4C39A3

    #4C39A3

    oklch(43% 0.163 285.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #940F31 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.