#9E1F18#9E1F18

#9E1F18 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.6% C 0.164 H 28.7°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#9E1F18
RGBrgb(158, 31, 24)
HSLhsl(3, 74%, 36%)
HSVhsv(3, 85%, 62%)
CMYKcmyk(0%, 80.4%, 84.8%, 38%)
CIE-LABlab(34.64, 50.48, 37.39)
CIE-LCHlch(34.64, 62.82, 36.53°)
OKLaboklab(45.6% 0.1436 0.0787)
OKLCHoklch(45.6% 0.164 28.7)
XYZxyz(14.7572, 8.3174, 1.6924)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F18 #18979E
analogous
#9E1854 #9E1F18 #9E6218
triadic
#9E1F18 #189E1F #1F189E
tetradic
#9E1F18 #549E18 #18979E #62189E
square
#9E1F18 #549E18 #18979E #62189E
split-complementary
#9E1F18 #189E62 #18549E
monochromatic
#340A08 #691510 #9E1F18 #D32920 #E4544D

Accessibility & contrast

On white

7.89
#9E1F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#9E1F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F18
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F18#FFFFFF#000000##FFFFFF
##9E1F181.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484015
Deuteranopia (green-blind)
#675B11
Tritanopia (blue-blind)
#AF001F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e1f18;
/* rgb */ color: rgb(158, 31, 24);
/* oklch */ color: oklch(45.6% 0.164 28.7);
Tailwind
colors: {
  custom: {
    50: '#c46757',
    500: '#9e1f18',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f18;
$custom-light: #c46757;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f18",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 24
  },
  "hsl": {
    "h": 3.134,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45597,
    "c": 0.16374,
    "h": 28.7
  },
  "luminance": 0.08315
}

Semantic roles & 50–950 ramp

primary
#9E1F18
secondary
#4CBFC6
accent
#E7F038
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9E1F18

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

Preview Lab → · Contrast checker → · Palette generator →

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