#9E1936#9E1936

#9E1936 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.6% C 0.166 H 15.9°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#9E1936
RGBrgb(158, 25, 54)
HSLhsl(347, 73%, 36%)
HSVhsv(347, 84%, 62%)
CMYKcmyk(0%, 84.2%, 65.8%, 38%)
CIE-LABlab(34.46, 53.38, 18.99)
CIE-LCHlch(34.46, 56.66, 19.58°)
OKLaboklab(45.6% 0.1595 0.0455)
OKLCHoklch(45.6% 0.166 15.9)
XYZxyz(15.1157, 8.2331, 4.2825)
Luminance0.0823 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1936 #199E81
analogous
#9E1978 #9E1936 #9E3E19
triadic
#9E1936 #369E19 #19369E
tetradic
#9E1936 #789E19 #199E81 #3E199E
square
#9E1936 #789E19 #199E81 #3E199E
split-complementary
#9E1936 #199E3E #19789E
monochromatic
#340812 #691124 #9E1936 #D32148 #E34E6F

Accessibility & contrast

On white

7.94
#9E1936 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#9E1936 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1936
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1936#FFFFFF#000000##FFFFFF
##9E19361.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423F36
Deuteranopia (green-blind)
#635B32
Tritanopia (blue-blind)
#AE0026
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e1936;
/* rgb */ color: rgb(158, 25, 54);
/* oklch */ color: oklch(45.6% 0.166 15.9);
Tailwind
colors: {
  custom: {
    50: '#c2666c',
    500: '#9e1936',
    950: '#000000',
  },
}
SCSS
$custom: #9e1936;
$custom-light: #c2666c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1936",
  "rgb": {
    "r": 158,
    "g": 25,
    "b": 54
  },
  "hsl": {
    "h": 346.917,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.456,
    "c": 0.16583,
    "h": 15.9
  },
  "luminance": 0.08231
}

Semantic roles & 50–950 ramp

primary
#9E1936
secondary
#4EC5AB
accent
#EFC738
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9E1936

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

Preview Lab → · Contrast checker → · Palette generator →

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