#9E1937#9E1937

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

Color values

HEX#9E1937
RGBrgb(158, 25, 55)
HSLhsl(346, 73%, 36%)
HSVhsv(346, 84%, 62%)
CMYKcmyk(0%, 84.2%, 65.2%, 38%)
CIE-LABlab(34.48, 53.44, 18.37)
CIE-LCHlch(34.48, 56.51, 18.97°)
OKLaboklab(45.62% 0.1599 0.0442)
OKLCHoklch(45.62% 0.166 15.4)
XYZxyz(15.1394, 8.2425, 4.4075)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1937 #199E80
analogous
#9E1979 #9E1937 #9E3D19
triadic
#9E1937 #379E19 #19379E
tetradic
#9E1937 #799E19 #199E80 #3D199E
square
#9E1937 #799E19 #199E80 #3D199E
split-complementary
#9E1937 #199E3D #19799E
monochromatic
#340812 #691125 #9E1937 #D32149 #E34E70

Accessibility & contrast

On white

7.93
#9E1937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1937
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1937#FFFFFF#000000##FFFFFF
##9E19371.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424037
Deuteranopia (green-blind)
#635B33
Tritanopia (blue-blind)
#AE0027
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e1937;
/* rgb */ color: rgb(158, 25, 55);
/* oklch */ color: oklch(45.6% 0.166 15.4);
Tailwind
colors: {
  custom: {
    50: '#c2666d',
    500: '#9e1937',
    950: '#000000',
  },
}
SCSS
$custom: #9e1937;
$custom-light: #c2666d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1937",
  "rgb": {
    "r": 158,
    "g": 25,
    "b": 55
  },
  "hsl": {
    "h": 346.466,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45621,
    "c": 0.16586,
    "h": 15.4
  },
  "luminance": 0.0824
}

Semantic roles & 50–950 ramp

primary
#9E1937
secondary
#4EC5AA
accent
#EFC638
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9E1937

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

Preview Lab → · Contrast checker → · Palette generator →

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