#9E1F29#9E1F29

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

Color values

HEX#9E1F29
RGBrgb(158, 31, 41)
HSLhsl(355, 67%, 37%)
HSVhsv(355, 80%, 62%)
CMYKcmyk(0%, 80.4%, 74.1%, 38%)
CIE-LABlab(34.83, 51.08, 27.69)
CIE-LCHlch(34.83, 58.10, 28.46°)
OKLaboklab(45.8% 0.1491 0.0629)
OKLCHoklch(45.8% 0.162 22.9)
XYZxyz(14.9925, 8.4115, 2.9316)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F29 #1F9E94
analogous
#9E1F68 #9E1F29 #9E551F
triadic
#9E1F29 #299E1F #1F299E
tetradic
#9E1F29 #689E1F #1F9E94 #551F9E
square
#9E1F29 #689E1F #1F9E94 #551F9E
split-complementary
#9E1F29 #1F9E55 #1F689E
monochromatic
#380B0E #6B151C #9E1F29 #D12936 #DE5963

Accessibility & contrast

On white

7.83
#9E1F29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1F29
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F29#FFFFFF#000000##FFFFFF
##9E1F291.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464128
Deuteranopia (green-blind)
#665C24
Tritanopia (blue-blind)
#AE0024
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1f29;
/* rgb */ color: rgb(158, 31, 41);
/* oklch */ color: oklch(45.8% 0.162 22.9);
Tailwind
colors: {
  custom: {
    50: '#c36863',
    500: '#9e1f29',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f29;
$custom-light: #c36863;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f29",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 41
  },
  "hsl": {
    "h": 355.276,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45799,
    "c": 0.16184,
    "h": 22.9
  },
  "luminance": 0.08409
}

Semantic roles & 50–950 ramp

primary
#9E1F29
secondary
#56C2BA
accent
#EADD3E
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9E1F29

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

Preview Lab → · Contrast checker → · Palette generator →

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