#9E1F2C#9E1F2C

#9E1F2C is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.8% C 0.162 H 21.6°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#9E1F2C
RGBrgb(158, 31, 44)
HSLhsl(354, 67%, 37%)
HSVhsv(354, 80%, 62%)
CMYKcmyk(0%, 80.4%, 72.2%, 38%)
CIE-LABlab(34.87, 51.22, 25.87)
CIE-LCHlch(34.87, 57.38, 26.80°)
OKLaboklab(45.85% 0.1503 0.0595)
OKLCHoklch(45.85% 0.162 21.6)
XYZxyz(15.0469, 8.4333, 3.2179)
Luminance0.0843 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F2C #1F9E91
analogous
#9E1F6C #9E1F2C #9E511F
triadic
#9E1F2C #2C9E1F #1F2C9E
tetradic
#9E1F2C #6C9E1F #1F9E91 #511F9E
square
#9E1F2C #6C9E1F #1F9E91 #511F9E
split-complementary
#9E1F2C #1F9E51 #1F6C9E
monochromatic
#380B10 #6B151E #9E1F2C #D1293A #DE5967

Accessibility & contrast

On white

7.82
#9E1F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1F2C
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F2C#FFFFFF#000000##FFFFFF
##9E1F2C1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46412B
Deuteranopia (green-blind)
#665C28
Tritanopia (blue-blind)
#AE0025
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1f2c;
/* rgb */ color: rgb(158, 31, 44);
/* oklch */ color: oklch(45.8% 0.162 21.6);
Tailwind
colors: {
  custom: {
    50: '#c36865',
    500: '#9e1f2c',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f2c;
$custom-light: #c36865;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f2c",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 44
  },
  "hsl": {
    "h": 353.858,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45845,
    "c": 0.16161,
    "h": 21.6
  },
  "luminance": 0.08431
}

Semantic roles & 50–950 ramp

primary
#9E1F2C
secondary
#56C2B7
accent
#EAD83E
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140705
muted
#837A7A

Preview Lab

Preview with #9E1F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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