#9E2222#9E2222

#9E2222 is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.9% C 0.160 H 26.2°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#9E2222
RGBrgb(158, 34, 34)
HSLhsl(0, 65%, 38%)
HSVhsv(0, 78%, 62%)
CMYKcmyk(0%, 78.5%, 78.5%, 38%)
CIE-LABlab(35.07, 49.87, 32.19)
CIE-LCHlch(35.07, 59.36, 32.84°)
OKLaboklab(45.95% 0.1437 0.0709)
OKLCHoklch(45.95% 0.16 26.2)
XYZxyz(14.9631, 8.5310, 2.3719)
Luminance0.0853 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2222 #229E9E
analogous
#9E2260 #9E2222 #9E6022
triadic
#9E2222 #229E22 #22229E
tetradic
#9E2222 #609E22 #229E9E #60229E
square
#9E2222 #609E22 #229E9E #60229E
split-complementary
#9E2222 #229E60 #22609E
monochromatic
#390C0C #6C1717 #9E2222 #D02D2D #DC5E5E

Accessibility & contrast

On white

7.76
#9E2222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#9E2222 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2222
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2222#FFFFFF#000000##FFFFFF
##9E22221.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484120
Deuteranopia (green-blind)
#675C1D
Tritanopia (blue-blind)
#AE0024
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e2222;
/* rgb */ color: rgb(158, 34, 34);
/* oklch */ color: oklch(45.9% 0.160 26.2);
Tailwind
colors: {
  custom: {
    50: '#c3695d',
    500: '#9e2222',
    950: '#000000',
  },
}
SCSS
$custom: #9e2222;
$custom-light: #c3695d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2222",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 34
  },
  "hsl": {
    "h": 0,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45948,
    "c": 0.16024,
    "h": 26.2
  },
  "luminance": 0.08529
}

Semantic roles & 50–950 ramp

primary
#9E2222
secondary
#5BC1C1
accent
#E8E840
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9E2222

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9E2222 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva