#9E1939#9E1939

#9E1939 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.7% C 0.166 H 14.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#9E1939
RGBrgb(158, 25, 57)
HSLhsl(346, 73%, 36%)
HSVhsv(346, 84%, 62%)
CMYKcmyk(0%, 84.2%, 63.9%, 38%)
CIE-LABlab(34.52, 53.56, 17.12)
CIE-LCHlch(34.52, 56.23, 17.73°)
OKLaboklab(45.66% 0.1607 0.0415)
OKLCHoklch(45.66% 0.166 14.5)
XYZxyz(15.1884, 8.2621, 4.6651)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1939 #199E7E
analogous
#9E197B #9E1939 #9E3B19
triadic
#9E1939 #399E19 #19399E
tetradic
#9E1939 #7B9E19 #199E7E #3B199E
square
#9E1939 #7B9E19 #199E7E #3B199E
split-complementary
#9E1939 #199E3B #197B9E
monochromatic
#340813 #691126 #9E1939 #D3214C #E34E72

Accessibility & contrast

On white

7.92
#9E1939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1939
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1939#FFFFFF#000000##FFFFFF
##9E19391.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424039
Deuteranopia (green-blind)
#635B35
Tritanopia (blue-blind)
#AE0028
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e1939;
/* rgb */ color: rgb(158, 25, 57);
/* oklch */ color: oklch(45.7% 0.166 14.5);
Tailwind
colors: {
  custom: {
    50: '#c2666f',
    500: '#9e1939',
    950: '#000000',
  },
}
SCSS
$custom: #9e1939;
$custom-light: #c2666f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1939",
  "rgb": {
    "r": 158,
    "g": 25,
    "b": 57
  },
  "hsl": {
    "h": 345.564,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45663,
    "c": 0.16595,
    "h": 14.5
  },
  "luminance": 0.0826
}

Semantic roles & 50–950 ramp

primary
#9E1939
secondary
#4EC5A8
accent
#EFC338
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9E1939

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

Preview Lab → · Contrast checker → · Palette generator →

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