#9E1A2D#9E1A2D

#9E1A2D is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.5% C 0.165 H 20.2°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#9E1A2D
RGBrgb(158, 26, 45)
HSLhsl(351, 72%, 36%)
HSVhsv(351, 84%, 62%)
CMYKcmyk(0%, 83.5%, 71.5%, 38%)
CIE-LABlab(34.40, 52.65, 24.67)
CIE-LCHlch(34.40, 58.14, 25.11°)
OKLaboklab(45.5% 0.1551 0.057)
OKLCHoklch(45.5% 0.165 20.2)
XYZxyz(14.9453, 8.1997, 3.2779)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A2D #1A9E8B
analogous
#9E1A6F #9E1A2D #9E491A
triadic
#9E1A2D #2D9E1A #1A2D9E
tetradic
#9E1A2D #6F9E1A #1A9E8B #491A9E
square
#9E1A2D #6F9E1A #1A9E8B #491A9E
split-complementary
#9E1A2D #1A9E49 #1A6F9E
monochromatic
#35090F #69111E #9E1A2D #D3233C #E25065

Accessibility & contrast

On white

7.96
#9E1A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#9E1A2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1A2D
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A2D#FFFFFF#000000##FFFFFF
##9E1A2D1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443F2D
Deuteranopia (green-blind)
#645B29
Tritanopia (blue-blind)
#AE0023
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e1a2d;
/* rgb */ color: rgb(158, 26, 45);
/* oklch */ color: oklch(45.5% 0.165 20.2);
Tailwind
colors: {
  custom: {
    50: '#c36665',
    500: '#9e1a2d',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a2d;
$custom-light: #c36665;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a2d",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 45
  },
  "hsl": {
    "h": 351.364,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45499,
    "c": 0.16523,
    "h": 20.2
  },
  "luminance": 0.08197
}

Semantic roles & 50–950 ramp

primary
#9E1A2D
secondary
#4FC5B4
accent
#EED439
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140705
muted
#837A7A

Preview Lab

Preview with #9E1A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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