#9E1B28#9E1B28

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

Color values

HEX#9E1B28
RGBrgb(158, 27, 40)
HSLhsl(354, 71%, 36%)
HSVhsv(354, 83%, 62%)
CMYKcmyk(0%, 82.9%, 74.7%, 38%)
CIE-LABlab(34.41, 52.16, 27.83)
CIE-LCHlch(34.41, 59.12, 28.08°)
OKLaboklab(45.49% 0.1524 0.0629)
OKLCHoklch(45.49% 0.165 22.4)
XYZxyz(14.8773, 8.2086, 2.8081)
Luminance0.0821 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1B28 #1B9E91
analogous
#9E1B6A #9E1B28 #9E501B
triadic
#9E1B28 #289E1B #1B289E
tetradic
#9E1B28 #6A9E1B #1B9E91 #501B9E
square
#9E1B28 #6A9E1B #1B9E91 #501B9E
split-complementary
#9E1B28 #1B9E50 #1B6A9E
monochromatic
#35090E #6A121B #9E1B28 #D22435 #E15260

Accessibility & contrast

On white

7.95
#9E1B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1B28
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1B28#FFFFFF#000000##FFFFFF
##9E1B281.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453F27
Deuteranopia (green-blind)
#655B23
Tritanopia (blue-blind)
#AE0022
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #9e1b28;
/* rgb */ color: rgb(158, 27, 40);
/* oklch */ color: oklch(45.5% 0.165 22.4);
Tailwind
colors: {
  custom: {
    50: '#c36662',
    500: '#9e1b28',
    950: '#000000',
  },
}
SCSS
$custom: #9e1b28;
$custom-light: #c36662;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1b28",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 40
  },
  "hsl": {
    "h": 354.046,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45489,
    "c": 0.16484,
    "h": 22.4
  },
  "luminance": 0.08206
}

Semantic roles & 50–950 ramp

primary
#9E1B28
secondary
#51C4B9
accent
#EEDC3A
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79

Preview Lab

Preview with #9E1B28

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

Preview Lab → · Contrast checker → · Palette generator →

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