#9E2717#9E2717

#9E2717 is a mid, vivid red. Relative luminance 0.088; OKLCH L 46.3% C 0.158 H 31.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#9E2717
RGBrgb(158, 39, 23)
HSLhsl(7, 75%, 35%)
HSVhsv(7, 85%, 62%)
CMYKcmyk(0%, 75.3%, 85.4%, 38%)
CIE-LABlab(35.57, 47.83, 38.75)
CIE-LCHlch(35.57, 61.56, 39.01°)
OKLaboklab(46.29% 0.1351 0.0814)
OKLCHoklch(46.29% 0.158 31.1)
XYZxyz(14.9826, 8.7844, 1.7171)
Luminance0.0878 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2717 #178E9E
analogous
#9E174A #9E2717 #9E6A17
triadic
#9E2717 #179E27 #27179E
tetradic
#9E2717 #4A9E17 #178E9E #6A179E
square
#9E2717 #4A9E17 #178E9E #6A179E
split-complementary
#9E2717 #179E6A #174A9E
monochromatic
#330D07 #691A0F #9E2717 #D3341F #E55D4B

Accessibility & contrast

On white

7.62
#9E2717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9E2717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2717
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2717#FFFFFF#000000##FFFFFF
##9E27171.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4313
Deuteranopia (green-blind)
#695D10
Tritanopia (blue-blind)
#AF0025
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e2717;
/* rgb */ color: rgb(158, 39, 23);
/* oklch */ color: oklch(46.3% 0.158 31.1);
Tailwind
colors: {
  custom: {
    50: '#c46b56',
    500: '#9e2717',
    950: '#000000',
  },
}
SCSS
$custom: #9e2717;
$custom-light: #c46b56;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2717",
  "rgb": {
    "r": 158,
    "g": 39,
    "b": 23
  },
  "hsl": {
    "h": 7.111,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46288,
    "c": 0.15774,
    "h": 31.1
  },
  "luminance": 0.08782
}

Semantic roles & 50–950 ramp

primary
#9E2717
secondary
#4AB8C6
accent
#DBF137
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9E2717

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

Preview Lab → · Contrast checker → · Palette generator →

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