#9E1F2E#9E1F2E

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

Color values

HEX#9E1F2E
RGBrgb(158, 31, 46)
HSLhsl(353, 67%, 37%)
HSVhsv(353, 80%, 62%)
CMYKcmyk(0%, 80.4%, 70.9%, 38%)
CIE-LABlab(34.90, 51.31, 24.65)
CIE-LCHlch(34.90, 56.93, 25.66°)
OKLaboklab(45.88% 0.151 0.0571)
OKLCHoklch(45.88% 0.161 20.7)
XYZxyz(15.0854, 8.4487, 3.4207)
Luminance0.0845 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F2E #1F9E8F
analogous
#9E1F6E #9E1F2E #9E4F1F
triadic
#9E1F2E #2E9E1F #1F2E9E
tetradic
#9E1F2E #6E9E1F #1F9E8F #4F1F9E
square
#9E1F2E #6E9E1F #1F9E8F #4F1F9E
split-complementary
#9E1F2E #1F9E4F #1F6E9E
monochromatic
#380B10 #6B151F #9E1F2E #D1293D #DE5969

Accessibility & contrast

On white

7.81
#9E1F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9E1F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F2E
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F2E#FFFFFF#000000##FFFFFF
##9E1F2E1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46412D
Deuteranopia (green-blind)
#655C2A
Tritanopia (blue-blind)
#AE0026
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1f2e;
/* rgb */ color: rgb(158, 31, 46);
/* oklch */ color: oklch(45.9% 0.161 20.7);
Tailwind
colors: {
  custom: {
    50: '#c36866',
    500: '#9e1f2e',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f2e;
$custom-light: #c36866;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f2e",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 46
  },
  "hsl": {
    "h": 352.913,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45878,
    "c": 0.16148,
    "h": 20.7
  },
  "luminance": 0.08446
}

Semantic roles & 50–950 ramp

primary
#9E1F2E
secondary
#56C2B6
accent
#EAD63E
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #9E1F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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