#940D2A

Closest named color: Carmine (#9D0216). oklch(42.8% 0.164 18.4), rgb(148, 13, 42).

Aa

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

About this color

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

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

Values

HEX#940D2A
RGBrgb(148, 13, 42)
HSLhsl(347, 84%, 32%)
OKLCHoklch(42.8% 0.164 18.4)

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

    #FCE3E3

    oklch(93.6% 0.028 17.7)

  3. Step 200

    200

    #FBCCCC

    oklch(88.6% 0.053 18.2)

  4. Step 300

    300

    #F8A8A9

    oklch(80.9% 0.095 18.5)

  5. Step 400

    400

    #F1747B

    oklch(70.7% 0.154 18.4)

  6. Step 500

    500

    #E7475A

    oklch(63% 0.196 18.2)

  7. Step 600

    600

    #D31840

    oklch(55.7% 0.213 18.3)

  8. Step 700

    700

    #B60032

    oklch(49.2% 0.197 18.4)

  9. Step 800

    800 (this color)

    #940D2A

    oklch(42.8% 0.164 18.4)

  10. Step 900

    900

    #771826

    oklch(37.7% 0.128 18.3)

  11. Step 950

    950

    #461117

    oklch(27% 0.081 18)

Export this scale for Tailwind in the Tailwind colors tool

#940D2A 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)#3C382A0.182
Deuteranopia (no green cones)#5C53260.166
Tritanopia (no blue cones)#A3001B0.034
Achromatopsia (no color)#4949490.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #940D2A

    #940D2A

    oklch(42.8% 0.164 18.4)

  • #005B5E

    #005B5E

    oklch(42.8% 0.073 198.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #940D2A

    #940D2A

    oklch(42.8% 0.164 18.4)

  • #89155E

    #89155E

    oklch(42.7% 0.163 348.2)

  • #803700

    #803700

    oklch(42.9% 0.116 48.5)

Open the analogous palette in the generator

Split complementary

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

  • #940D2A

    #940D2A

    oklch(42.8% 0.164 18.4)

  • #005E46

    #005E46

    oklch(42.8% 0.087 168)

  • #005773

    #005773

    oklch(42.7% 0.084 228.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #940D2A

    #940D2A

    oklch(42.8% 0.164 18.4)

  • #215F00

    #215F00

    oklch(42.8% 0.134 138.5)

  • #0049A5

    #0049A5

    oklch(42.7% 0.162 258.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #940D2A

    #940D2A

    oklch(42.8% 0.164 18.4)

  • #545200

    #545200

    oklch(42.7% 0.092 108.1)

  • #005B5E

    #005B5E

    oklch(42.8% 0.073 198.7)

  • #5036A1

    #5036A1

    oklch(42.7% 0.164 288.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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