#940E27

Closest named color: Carmine (#9D0216). oklch(42.8% 0.163 19.8), rgb(148, 14, 39).

Aa

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

About this color

#940E27 is a dark, vivid red. In OKLCH its lightness is 43%, its chroma 0.163 and its hue 20°. Its hue sits on the warm side of the wheel. The nearest named color is Carmine (#9D0216), ΔE 0.024 away. White text reads best on it, at 8.93:1.

Hue familyReds
Lightnessdark (43%)
Chromavivid (0.163)
Temperaturewarm
Nearest nameCarmine (#9D0216)
Black text2.35:1
White text8.93:1

Values

HEX#940E27
RGBrgb(148, 14, 39)
HSLhsl(349, 83%, 32%)
OKLCHoklch(42.8% 0.163 19.8)

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 #940E27 8.93:1 AAA Lc -93.2 Preferred for body text
Black text on #940E27 2.35:1 Fails Lc 15.4 Dividers and decoration only
#940E27 text on white 8.93:1 AAA Lc 88.6 Fine for body text
#940E27 text on black 2.35:1 Fails Lc -13.6 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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FCE3E2

    oklch(93.6% 0.028 20.4)

  3. Step 200

    200

    #FBCCCB

    oklch(88.6% 0.053 19.6)

  4. Step 300

    300

    #F8A8A7

    oklch(80.9% 0.095 20.1)

  5. Step 400

    400

    #F17579

    oklch(70.8% 0.153 19.8)

  6. Step 500

    500

    #E74856

    oklch(63% 0.195 19.9)

  7. Step 600

    600

    #D3193C

    oklch(55.6% 0.212 19.7)

  8. Step 700

    700

    #B6002E

    oklch(49.1% 0.197 19.8)

  9. Step 800

    800 (this color)

    #940E27

    oklch(42.8% 0.163 19.8)

  10. Step 900

    900

    #771924

    oklch(37.8% 0.128 19.8)

  11. Step 950

    950

    #461115

    oklch(27% 0.081 20.2)

Export this scale for Tailwind in the Tailwind colors tool

#940E27 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.182
Deuteranopia (no green cones)#5C53220.165
Tritanopia (no blue cones)#A3001A0.033
Achromatopsia (no color)#4A4A4A0.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #940E27

    #940E27

    oklch(42.8% 0.163 19.8)

  • #005B5F

    #005B5F

    oklch(42.8% 0.073 200)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #940E27

    #940E27

    oklch(42.8% 0.163 19.8)

  • #8A145C

    #8A145C

    oklch(42.7% 0.164 349.6)

  • #7E3800

    #7E3800

    oklch(42.8% 0.113 50)

Open the analogous palette in the generator

Split complementary

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

  • #940E27

    #940E27

    oklch(42.8% 0.163 19.8)

  • #005E48

    #005E48

    oklch(42.9% 0.085 169.8)

  • #005774

    #005774

    oklch(42.7% 0.085 229.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #940E27

    #940E27

    oklch(42.8% 0.163 19.8)

  • #1A6000

    #1A6000

    oklch(42.9% 0.138 139.9)

  • #0948A6

    #0948A6

    oklch(42.8% 0.163 259.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #940E27

    #940E27

    oklch(42.8% 0.163 19.8)

  • #535300

    #535300

    oklch(42.8% 0.093 109.8)

  • #005B5F

    #005B5F

    oklch(42.8% 0.073 200)

  • #5236A0

    #5236A0

    oklch(42.8% 0.163 289.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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