#9E1F24#9E1F24

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

Color values

HEX#9E1F24
RGBrgb(158, 31, 36)
HSLhsl(358, 67%, 37%)
HSVhsv(358, 80%, 62%)
CMYKcmyk(0%, 80.4%, 77.2%, 38%)
CIE-LABlab(34.76, 50.87, 30.67)
CIE-LCHlch(34.76, 59.40, 31.08°)
OKLaboklab(45.73% 0.1473 0.0681)
OKLCHoklch(45.73% 0.162 24.8)
XYZxyz(14.9108, 8.3788, 2.5009)
Luminance0.0838 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F24 #1F9E99
analogous
#9E1F64 #9E1F24 #9E5A1F
triadic
#9E1F24 #249E1F #1F249E
tetradic
#9E1F24 #649E1F #1F9E99 #5A1F9E
square
#9E1F24 #649E1F #1F9E99 #5A1F9E
split-complementary
#9E1F24 #1F9E5A #1F649E
monochromatic
#380B0D #6B1518 #9E1F24 #D12930 #DE595E

Accessibility & contrast

On white

7.85
#9E1F24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#9E1F24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F24
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F24#FFFFFF#000000##FFFFFF
##9E1F241.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474023
Deuteranopia (green-blind)
#665C1F
Tritanopia (blue-blind)
#AE0023
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1f24;
/* rgb */ color: rgb(158, 31, 36);
/* oklch */ color: oklch(45.7% 0.162 24.8);
Tailwind
colors: {
  custom: {
    50: '#c3685f',
    500: '#9e1f24',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f24;
$custom-light: #c3685f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f24",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 36
  },
  "hsl": {
    "h": 357.638,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45729,
    "c": 0.16233,
    "h": 24.8
  },
  "luminance": 0.08376
}

Semantic roles & 50–950 ramp

primary
#9E1F24
secondary
#56C2BE
accent
#EAE33E
background
#FDF6F5
surface
#FAEBE9
border
#D3C6C5
text
#140704
muted
#837A79

Preview Lab

Preview with #9E1F24

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

Preview Lab → · Contrast checker → · Palette generator →

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