#9E1B2D#9E1B2D

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

Color values

HEX#9E1B2D
RGBrgb(158, 27, 45)
HSLhsl(352, 71%, 36%)
HSVhsv(352, 83%, 62%)
CMYKcmyk(0%, 82.9%, 71.5%, 38%)
CIE-LABlab(34.49, 52.39, 24.78)
CIE-LCHlch(34.49, 57.96, 25.32°)
OKLaboklab(45.57% 0.1543 0.0573)
OKLCHoklch(45.57% 0.165 20.4)
XYZxyz(14.9679, 8.2448, 3.2854)
Luminance0.0824 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B2D #1B9E8C
analogous
#9E1B6F #9E1B2D #9E4B1B
triadic
#9E1B2D #2D9E1B #1B2D9E
tetradic
#9E1B2D #6F9E1B #1B9E8C #4B1B9E
square
#9E1B2D #6F9E1B #1B9E8C #4B1B9E
split-complementary
#9E1B2D #1B9E4B #1B6F9E
monochromatic
#35090F #6A121E #9E1B2D #D2243C #E15266

Accessibility & contrast

On white

7.93
#9E1B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#9E1B2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1B2D
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B2D#FFFFFF#000000##FFFFFF
##9E1B2D1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e1b2d;
/* rgb */ color: rgb(158, 27, 45);
/* oklch */ color: oklch(45.6% 0.165 20.4);
Tailwind
colors: {
  custom: {
    50: '#c36665',
    500: '#9e1b2d',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b2d;
$custom-light: #c36665;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b2d",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 45
  },
  "hsl": {
    "h": 351.756,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45567,
    "c": 0.16453,
    "h": 20.4
  },
  "luminance": 0.08242
}

Semantic roles & 50–950 ramp

primary
#9E1B2D
secondary
#51C4B4
accent
#EED53A
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140705
muted
#837A7A

Preview Lab

Preview with #9E1B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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