#9E1F20#9E1F20

#9E1F20 is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.7% C 0.163 H 26.3°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#9E1F20
RGBrgb(158, 31, 32)
HSLhsl(360, 67%, 37%)
HSVhsv(360, 80%, 62%)
CMYKcmyk(0%, 80.4%, 79.7%, 38%)
CIE-LABlab(34.71, 50.73, 32.99)
CIE-LCHlch(34.71, 60.51, 33.04°)
OKLaboklab(45.68% 0.146 0.072)
OKLCHoklch(45.68% 0.163 26.3)
XYZxyz(14.8531, 8.3557, 2.1970)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F20 #1F9E9D
analogous
#9E1F5F #9E1F20 #9E5E1F
triadic
#9E1F20 #209E1F #1F209E
tetradic
#9E1F20 #5F9E1F #1F9E9D #5E1F9E
square
#9E1F20 #5F9E1F #1F9E9D #5E1F9E
split-complementary
#9E1F20 #1F9E5E #1F5F9E
monochromatic
#380B0B #6B1516 #9E1F20 #D1292A #DE595A

Accessibility & contrast

On white

7.86
#9E1F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#9E1F20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F20
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F20#FFFFFF#000000##FFFFFF
##9E1F201.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47401E
Deuteranopia (green-blind)
#665B1A
Tritanopia (blue-blind)
#AE0021
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1f20;
/* rgb */ color: rgb(158, 31, 32);
/* oklch */ color: oklch(45.7% 0.163 26.3);
Tailwind
colors: {
  custom: {
    50: '#c4675c',
    500: '#9e1f20',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f20;
$custom-light: #c4675c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f20",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 32
  },
  "hsl": {
    "h": 359.528,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45679,
    "c": 0.16277,
    "h": 26.3
  },
  "luminance": 0.08353
}

Semantic roles & 50–950 ramp

primary
#9E1F20
secondary
#56C2C1
accent
#EAE93E
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9E1F20

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

Preview Lab → · Contrast checker → · Palette generator →

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