#9E1F3E#9E1F3E

#9E1F3E is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.2% C 0.162 H 13.0°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#9E1F3E
RGBrgb(158, 31, 62)
HSLhsl(345, 67%, 37%)
HSVhsv(345, 80%, 62%)
CMYKcmyk(0%, 80.4%, 60.8%, 38%)
CIE-LABlab(35.20, 52.25, 14.79)
CIE-LCHlch(35.20, 54.30, 15.80°)
OKLaboklab(46.2% 0.1575 0.0364)
OKLCHoklch(46.2% 0.162 13)
XYZxyz(15.4616, 8.5992, 5.4022)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F3E #1F9E7F
analogous
#9E1F7E #9E1F3E #9E3F1F
triadic
#9E1F3E #3E9E1F #1F3E9E
tetradic
#9E1F3E #7E9E1F #1F9E7F #3F1F9E
square
#9E1F3E #7E9E1F #1F9E7F #3F1F9E
split-complementary
#9E1F3E #1F9E3F #1F7E9E
monochromatic
#380B16 #6B152A #9E1F3E #D12952 #DE597A

Accessibility & contrast

On white

7.72
#9E1F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9E1F3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F3E
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F3E#FFFFFF#000000##FFFFFF
##9E1F3E1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43423E
Deuteranopia (green-blind)
#645C3B
Tritanopia (blue-blind)
#AD002D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1f3e;
/* rgb */ color: rgb(158, 31, 62);
/* oklch */ color: oklch(46.2% 0.162 13.0);
Tailwind
colors: {
  custom: {
    50: '#c26873',
    500: '#9e1f3e',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f3e;
$custom-light: #c26873;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f3e",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 62
  },
  "hsl": {
    "h": 345.354,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46197,
    "c": 0.16161,
    "h": 13
  },
  "luminance": 0.08597
}

Semantic roles & 50–950 ramp

primary
#9E1F3E
secondary
#56C2A8
accent
#EAC03E
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140708
muted
#827A7B

Preview Lab

Preview with #9E1F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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