#9E2817#9E2817

#9E2817 is a mid, vivid red. Relative luminance 0.088; OKLCH L 46.4% C 0.157 H 31.4°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#9E2817
RGBrgb(158, 40, 23)
HSLhsl(8, 75%, 35%)
HSVhsv(8, 85%, 62%)
CMYKcmyk(0%, 74.7%, 85.4%, 38%)
CIE-LABlab(35.70, 47.47, 38.87)
CIE-LCHlch(35.70, 61.35, 39.31°)
OKLaboklab(46.39% 0.134 0.0817)
OKLCHoklch(46.39% 0.157 31.4)
XYZxyz(15.0158, 8.8509, 1.7282)
Luminance0.0885 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2817 #178D9E
analogous
#9E1749 #9E2817 #9E6C17
triadic
#9E2817 #179E28 #28179E
tetradic
#9E2817 #499E17 #178D9E #6C179E
square
#9E2817 #499E17 #178D9E #6C179E
split-complementary
#9E2817 #179E6C #17499E
monochromatic
#330D07 #691A0F #9E2817 #D3361F #E55E4B

Accessibility & contrast

On white

7.58
#9E2817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9E2817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2817
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2817#FFFFFF#000000##FFFFFF
##9E28171.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.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: #9e2817;
/* rgb */ color: rgb(158, 40, 23);
/* oklch */ color: oklch(46.4% 0.157 31.4);
Tailwind
colors: {
  custom: {
    50: '#c46b56',
    500: '#9e2817',
    950: '#000000',
  },
}
SCSS
$custom: #9e2817;
$custom-light: #c46b56;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2817",
  "rgb": {
    "r": 158,
    "g": 40,
    "b": 23
  },
  "hsl": {
    "h": 7.556,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.46385,
    "c": 0.15692,
    "h": 31.4
  },
  "luminance": 0.08849
}

Semantic roles & 50–950 ramp

primary
#9E2817
secondary
#4AB7C6
accent
#DAF137
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9E2817

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

Preview Lab → · Contrast checker → · Palette generator →

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