#940F27

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

Aa

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

About this color

#940F27 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.91:1.

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

Values

HEX#940F27
RGBrgb(148, 15, 39)
HSLhsl(349, 82%, 32%)
OKLCHoklch(42.8% 0.163 19.9)

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 #940F27 8.91:1 AAA Lc -93.1 Preferred for body text
Black text on #940F27 2.35:1 Fails Lc 15.5 Dividers and decoration only
#940F27 text on white 8.91:1 AAA Lc 88.5 Fine for body text
#940F27 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

    #FACCCB

    oklch(88.5% 0.052 19.6)

  4. Step 300

    300

    #F8A8A7

    oklch(80.9% 0.095 20.1)

  5. Step 400

    400

    #F07578

    oklch(70.7% 0.152 20.2)

  6. Step 500

    500

    #E74856

    oklch(63% 0.195 19.9)

  7. Step 600

    600

    #D31A3B

    oklch(55.7% 0.212 20.1)

  8. Step 700

    700

    #B6012E

    oklch(49.1% 0.197 19.9)

  9. Step 800

    800 (this color)

    #940F27

    oklch(42.8% 0.163 19.9)

  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

#940F27 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)#3D38270.180
Deuteranopia (no green cones)#5D53220.164
Tritanopia (no blue cones)#A3001B0.033
Achromatopsia (no color)#4A4A4A0.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #940F27

    #940F27

    oklch(42.8% 0.163 19.9)

  • #005B5F

    #005B5F

    oklch(42.8% 0.073 200)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #940F27

    #940F27

    oklch(42.8% 0.163 19.9)

  • #8A155C

    #8A155C

    oklch(42.8% 0.163 349.7)

  • #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°).

  • #940F27

    #940F27

    oklch(42.8% 0.163 19.9)

  • #005E48

    #005E48

    oklch(42.9% 0.085 169.8)

  • #005775

    #005775

    oklch(42.8% 0.086 230.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #940F27

    #940F27

    oklch(42.8% 0.163 19.9)

  • #196000

    #196000

    oklch(42.8% 0.138 140)

  • #0B48A6

    #0B48A6

    oklch(42.8% 0.163 260)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #940F27

    #940F27

    oklch(42.8% 0.163 19.9)

  • #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 #940F27, closest first.

Similar named colors

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

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