#90171D#90171D

#90171D is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.4% C 0.155 H 25.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#90171D
RGBrgb(144, 23, 29)
HSLhsl(357, 72%, 33%)
HSVhsv(357, 84%, 56%)
CMYKcmyk(0%, 84%, 79.9%, 43.5%)
CIE-LABlab(30.96, 48.65, 29.93)
CIE-LCHlch(30.96, 57.12, 31.59°)
OKLaboklab(42.37% 0.1406 0.0656)
OKLCHoklch(42.37% 0.155 25)
XYZxyz(12.0312, 6.6328, 1.8089)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90171D #17908A
analogous
#901759 #90171D #904E17
triadic
#90171D #1D9017 #171D90
tetradic
#90171D #599017 #17908A #4E1790
square
#90171D #599017 #17908A #4E1790
split-complementary
#90171D #17904E #175990
monochromatic
#260608 #5B0F12 #90171D #C51F28 #E14149

Accessibility & contrast

On white

9.03
#90171D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#90171D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90171D
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90171D#FFFFFF#000000##FFFFFF
##90171D1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F381C
Deuteranopia (green-blind)
#5C5218
Tritanopia (blue-blind)
#9F001B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #90171d;
/* rgb */ color: rgb(144, 23, 29);
/* oklch */ color: oklch(42.4% 0.155 25.0);
Tailwind
colors: {
  custom: {
    50: '#b96259',
    500: '#90171d',
    950: '#000000',
  },
}
SCSS
$custom: #90171d;
$custom-light: #b96259;
$custom-dark: #000000;
JSON
{
  "hex": "#90171d",
  "rgb": {
    "r": 144,
    "g": 23,
    "b": 29
  },
  "hsl": {
    "h": 357.025,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42366,
    "c": 0.15508,
    "h": 25
  },
  "luminance": 0.06631
}

Semantic roles & 50–950 ramp

primary
#90171D
secondary
#42C1BB
accent
#EFE639
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #90171D

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

Preview Lab → · Contrast checker → · Palette generator →

#90171D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva