#9E1F19#9E1F19

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

Color values

HEX#9E1F19
RGBrgb(158, 31, 25)
HSLhsl(3, 73%, 36%)
HSVhsv(3, 84%, 62%)
CMYKcmyk(0%, 80.4%, 84.2%, 38%)
CIE-LABlab(34.64, 50.51, 36.86)
CIE-LCHlch(34.64, 62.53, 36.12°)
OKLaboklab(45.61% 0.1439 0.078)
OKLCHoklch(45.61% 0.164 28.5)
XYZxyz(14.7678, 8.3217, 1.7482)
Luminance0.0832 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F19 #19989E
analogous
#9E1955 #9E1F19 #9E6119
triadic
#9E1F19 #199E1F #1F199E
tetradic
#9E1F19 #559E19 #19989E #61199E
square
#9E1F19 #559E19 #19989E #61199E
split-complementary
#9E1F19 #199E61 #19559E
monochromatic
#340A08 #691511 #9E1F19 #D32921 #E3554E

Accessibility & contrast

On white

7.88
#9E1F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1F19
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F19#FFFFFF#000000##FFFFFF
##9E1F191.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e1f19;
/* rgb */ color: rgb(158, 31, 25);
/* oklch */ color: oklch(45.6% 0.164 28.5);
Tailwind
colors: {
  custom: {
    50: '#c46757',
    500: '#9e1f19',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f19;
$custom-light: #c46757;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f19",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 25
  },
  "hsl": {
    "h": 2.707,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45606,
    "c": 0.16362,
    "h": 28.5
  },
  "luminance": 0.08319
}

Semantic roles & 50–950 ramp

primary
#9E1F19
secondary
#4EC0C5
accent
#E7EF38
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#150703
muted
#837A78

Preview Lab

Preview with #9E1F19

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

Preview Lab → · Contrast checker → · Palette generator →

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