#9E2718#9E2718

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

Color values

HEX#9E2718
RGBrgb(158, 39, 24)
HSLhsl(7, 74%, 36%)
HSVhsv(7, 85%, 62%)
CMYKcmyk(0%, 75.3%, 84.8%, 38%)
CIE-LABlab(35.57, 47.86, 38.25)
CIE-LCHlch(35.57, 61.26, 38.63°)
OKLaboklab(46.3% 0.1354 0.0807)
OKLCHoklch(46.3% 0.158 30.8)
XYZxyz(14.9928, 8.7885, 1.7709)
Luminance0.0879 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2718 #188F9E
analogous
#9E184C #9E2718 #9E6A18
triadic
#9E2718 #189E27 #27189E
tetradic
#9E2718 #4C9E18 #188F9E #6A189E
square
#9E2718 #4C9E18 #188F9E #6A189E
split-complementary
#9E2718 #189E6A #184C9E
monochromatic
#340D08 #691A10 #9E2718 #D33420 #E45D4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E2718#FFFFFF#000000##FFFFFF
##9E27181.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)
#4C4315
Deuteranopia (green-blind)
#695D11
Tritanopia (blue-blind)
#AF0025
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e2718;
/* rgb */ color: rgb(158, 39, 24);
/* oklch */ color: oklch(46.3% 0.158 30.8);
Tailwind
colors: {
  custom: {
    50: '#c46b57',
    500: '#9e2718',
    950: '#000000',
  },
}
SCSS
$custom: #9e2718;
$custom-light: #c46b57;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2718",
  "rgb": {
    "r": 158,
    "g": 39,
    "b": 24
  },
  "hsl": {
    "h": 6.716,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46296,
    "c": 0.15759,
    "h": 30.8
  },
  "luminance": 0.08786
}

Semantic roles & 50–950 ramp

primary
#9E2718
secondary
#4CB8C6
accent
#DCF038
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140703
muted
#837A78

Preview Lab

Preview with #9E2718

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

Preview Lab → · Contrast checker → · Palette generator →

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