#9E1F3B#9E1F3B

#9E1F3B is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.1% C 0.161 H 14.5°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#9E1F3B
RGBrgb(158, 31, 59)
HSLhsl(347, 67%, 37%)
HSVhsv(347, 80%, 62%)
CMYKcmyk(0%, 80.4%, 62.7%, 38%)
CIE-LABlab(35.14, 52.05, 16.64)
CIE-LCHlch(35.14, 54.65, 17.73°)
OKLaboklab(46.13% 0.1562 0.0406)
OKLCHoklch(46.13% 0.161 14.5)
XYZxyz(15.3816, 8.5672, 4.9805)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F3B #1F9E82
analogous
#9E1F7A #9E1F3B #9E431F
triadic
#9E1F3B #3B9E1F #1F3B9E
tetradic
#9E1F3B #7A9E1F #1F9E82 #431F9E
square
#9E1F3B #7A9E1F #1F9E82 #431F9E
split-complementary
#9E1F3B #1F9E43 #1F7A9E
monochromatic
#380B15 #6B1528 #9E1F3B #D1294E #DE5976

Accessibility & contrast

On white

7.74
#9E1F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#9E1F3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F3B
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F3B#FFFFFF#000000##FFFFFF
##9E1F3B1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44423B
Deuteranopia (green-blind)
#645C38
Tritanopia (blue-blind)
#AD002B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1f3b;
/* rgb */ color: rgb(158, 31, 59);
/* oklch */ color: oklch(46.1% 0.161 14.5);
Tailwind
colors: {
  custom: {
    50: '#c26870',
    500: '#9e1f3b',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f3b;
$custom-light: #c26870;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f3b",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 59
  },
  "hsl": {
    "h": 346.772,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4613,
    "c": 0.16142,
    "h": 14.5
  },
  "luminance": 0.08565
}

Semantic roles & 50–950 ramp

primary
#9E1F3B
secondary
#56C2AB
accent
#EAC43E
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9E1F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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