#9E1F2F#9E1F2F

#9E1F2F is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.9% C 0.161 H 20.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#9E1F2F
RGBrgb(158, 31, 47)
HSLhsl(352, 67%, 37%)
HSVhsv(352, 80%, 62%)
CMYKcmyk(0%, 80.4%, 70.3%, 38%)
CIE-LABlab(34.92, 51.36, 24.04)
CIE-LCHlch(34.92, 56.71, 25.08°)
OKLaboklab(45.9% 0.1514 0.0559)
OKLCHoklch(45.9% 0.161 20.3)
XYZxyz(15.1053, 8.4567, 3.5257)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F2F #1F9E8E
analogous
#9E1F6F #9E1F2F #9E4F1F
triadic
#9E1F2F #2F9E1F #1F2F9E
tetradic
#9E1F2F #6F9E1F #1F9E8E #4F1F9E
square
#9E1F2F #6F9E1F #1F9E8E #4F1F9E
split-complementary
#9E1F2F #1F9E4F #1F6F9E
monochromatic
#380B11 #6B1520 #9E1F2F #D1293E #DE596A

Accessibility & contrast

On white

7.80
#9E1F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9E1F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F2F
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F2F#FFFFFF#000000##FFFFFF
##9E1F2F1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46412F
Deuteranopia (green-blind)
#655C2B
Tritanopia (blue-blind)
#AE0026
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1f2f;
/* rgb */ color: rgb(158, 31, 47);
/* oklch */ color: oklch(45.9% 0.161 20.3);
Tailwind
colors: {
  custom: {
    50: '#c36867',
    500: '#9e1f2f',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f2f;
$custom-light: #c36867;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f2f",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 47
  },
  "hsl": {
    "h": 352.441,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45895,
    "c": 0.16143,
    "h": 20.3
  },
  "luminance": 0.08454
}

Semantic roles & 50–950 ramp

primary
#9E1F2F
secondary
#56C2B5
accent
#EAD43E
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #9E1F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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