#9E1F36#9E1F36

#9E1F36 is a mid, vivid red. Relative luminance 0.085; OKLCH L 46.0% C 0.161 H 17.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#9E1F36
RGBrgb(158, 31, 54)
HSLhsl(349, 67%, 37%)
HSVhsv(349, 80%, 62%)
CMYKcmyk(0%, 80.4%, 65.8%, 38%)
CIE-LABlab(35.04, 51.75, 19.73)
CIE-LCHlch(35.04, 55.38, 20.87°)
OKLaboklab(46.03% 0.1542 0.0472)
OKLCHoklch(46.03% 0.161 17)
XYZxyz(15.2581, 8.5178, 4.3300)
Luminance0.0852 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F36 #1F9E87
analogous
#9E1F76 #9E1F36 #9E481F
triadic
#9E1F36 #369E1F #1F369E
tetradic
#9E1F36 #769E1F #1F9E87 #481F9E
square
#9E1F36 #769E1F #1F9E87 #481F9E
split-complementary
#9E1F36 #1F9E48 #1F769E
monochromatic
#380B13 #6B1525 #9E1F36 #D12947 #DE5971

Accessibility & contrast

On white

7.77
#9E1F36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#9E1F36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F36
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F36#FFFFFF#000000##FFFFFF
##9E1F361.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454136
Deuteranopia (green-blind)
#655C32
Tritanopia (blue-blind)
#AE0029
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1f36;
/* rgb */ color: rgb(158, 31, 54);
/* oklch */ color: oklch(46.0% 0.161 17.0);
Tailwind
colors: {
  custom: {
    50: '#c2686c',
    500: '#9e1f36',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f36;
$custom-light: #c2686c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f36",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 54
  },
  "hsl": {
    "h": 349.134,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46025,
    "c": 0.16127,
    "h": 17
  },
  "luminance": 0.08515
}

Semantic roles & 50–950 ramp

primary
#9E1F36
secondary
#56C2AF
accent
#EACB3E
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9E1F36

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

Preview Lab → · Contrast checker → · Palette generator →

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