#9E1E31#9E1E31

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

Color values

HEX#9E1E31
RGBrgb(158, 30, 49)
HSLhsl(351, 68%, 37%)
HSVhsv(351, 81%, 62%)
CMYKcmyk(0%, 81%, 69%, 38%)
CIE-LABlab(34.85, 51.76, 22.68)
CIE-LCHlch(34.85, 56.51, 23.67°)
OKLaboklab(45.85% 0.1532 0.0532)
OKLCHoklch(45.85% 0.162 19.2)
XYZxyz(15.1209, 8.4218, 3.7345)
Luminance0.0842 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E31 #1E9E8B
analogous
#9E1E71 #9E1E31 #9E4B1E
triadic
#9E1E31 #319E1E #1E319E
tetradic
#9E1E31 #719E1E #1E9E8B #4B1E9E
square
#9E1E31 #719E1E #1E9E8B #4B1E9E
split-complementary
#9E1E31 #1E9E4B #1E719E
monochromatic
#370A11 #6B1421 #9E1E31 #D12841 #DF576B

Accessibility & contrast

On white

7.82
#9E1E31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1E31
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1E31#FFFFFF#000000##FFFFFF
##9E1E311.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454131
Deuteranopia (green-blind)
#655C2D
Tritanopia (blue-blind)
#AE0027
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1e31;
/* rgb */ color: rgb(158, 30, 49);
/* oklch */ color: oklch(45.9% 0.162 19.2);
Tailwind
colors: {
  custom: {
    50: '#c26869',
    500: '#9e1e31',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e31;
$custom-light: #c26869;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e31",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 49
  },
  "hsl": {
    "h": 351.094,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45854,
    "c": 0.16213,
    "h": 19.2
  },
  "luminance": 0.08419
}

Semantic roles & 50–950 ramp

primary
#9E1E31
secondary
#55C3B2
accent
#EBD13D
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #9E1E31

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

Preview Lab → · Contrast checker → · Palette generator →

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