#9E1F32#9E1F32

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

Color values

HEX#9E1F32
RGBrgb(158, 31, 50)
HSLhsl(351, 67%, 37%)
HSVhsv(351, 80%, 62%)
CMYKcmyk(0%, 80.4%, 68.4%, 38%)
CIE-LABlab(34.97, 51.52, 22.20)
CIE-LCHlch(34.97, 56.10, 23.31°)
OKLaboklab(45.95% 0.1526 0.0523)
OKLCHoklch(45.95% 0.161 18.9)
XYZxyz(15.1680, 8.4817, 3.8555)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F32 #1F9E8B
analogous
#9E1F71 #9E1F32 #9E4C1F
triadic
#9E1F32 #329E1F #1F329E
tetradic
#9E1F32 #719E1F #1F9E8B #4C1F9E
square
#9E1F32 #719E1F #1F9E8B #4C1F9E
split-complementary
#9E1F32 #1F9E4C #1F719E
monochromatic
#380B12 #6B1522 #9E1F32 #D12942 #DE596D

Accessibility & contrast

On white

7.79
#9E1F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1F32
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F32#FFFFFF#000000##FFFFFF
##9E1F321.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454132
Deuteranopia (green-blind)
#655C2E
Tritanopia (blue-blind)
#AE0028
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1f32;
/* rgb */ color: rgb(158, 31, 50);
/* oklch */ color: oklch(45.9% 0.161 18.9);
Tailwind
colors: {
  custom: {
    50: '#c26869',
    500: '#9e1f32',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f32;
$custom-light: #c26869;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f32",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 50
  },
  "hsl": {
    "h": 351.024,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45948,
    "c": 0.16131,
    "h": 18.9
  },
  "luminance": 0.08479
}

Semantic roles & 50–950 ramp

primary
#9E1F32
secondary
#56C2B2
accent
#EAD03E
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140706
muted
#827A7A

Preview Lab

Preview with #9E1F32

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

Preview Lab → · Contrast checker → · Palette generator →

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