#9E1F3D#9E1F3D

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

Color values

HEX#9E1F3D
RGBrgb(158, 31, 61)
HSLhsl(346, 67%, 37%)
HSVhsv(346, 80%, 62%)
CMYKcmyk(0%, 80.4%, 61.4%, 38%)
CIE-LABlab(35.18, 52.18, 15.40)
CIE-LCHlch(35.18, 54.41, 16.45°)
OKLaboklab(46.17% 0.1571 0.0378)
OKLCHoklch(46.17% 0.162 13.5)
XYZxyz(15.4344, 8.5883, 5.2590)
Luminance0.0859 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F3D #1F9E80
analogous
#9E1F7D #9E1F3D #9E411F
triadic
#9E1F3D #3D9E1F #1F3D9E
tetradic
#9E1F3D #7D9E1F #1F9E80 #411F9E
square
#9E1F3D #7D9E1F #1F9E80 #411F9E
split-complementary
#9E1F3D #1F9E41 #1F7D9E
monochromatic
#380B15 #6B1529 #9E1F3D #D12951 #DE5978

Accessibility & contrast

On white

7.73
#9E1F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1F3D
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F3D#FFFFFF#000000##FFFFFF
##9E1F3D1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43423D
Deuteranopia (green-blind)
#645C3A
Tritanopia (blue-blind)
#AD002C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e1f3d;
/* rgb */ color: rgb(158, 31, 61);
/* oklch */ color: oklch(46.2% 0.162 13.5);
Tailwind
colors: {
  custom: {
    50: '#c26872',
    500: '#9e1f3d',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f3d;
$custom-light: #c26872;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f3d",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 61
  },
  "hsl": {
    "h": 345.827,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46174,
    "c": 0.16154,
    "h": 13.5
  },
  "luminance": 0.08586
}

Semantic roles & 50–950 ramp

primary
#9E1F3D
secondary
#56C2A9
accent
#EAC13E
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9E1F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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