#90171B#90171B

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

Color values

HEX#90171B
RGBrgb(144, 23, 27)
HSLhsl(358, 72%, 33%)
HSVhsv(358, 84%, 56%)
CMYKcmyk(0%, 84%, 81.3%, 43.5%)
CIE-LABlab(30.93, 48.59, 31.10)
CIE-LCHlch(30.93, 57.69, 32.62°)
OKLaboklab(42.34% 0.1399 0.0675)
OKLCHoklch(42.34% 0.155 25.7)
XYZxyz(12.0073, 6.6232, 1.6829)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90171B #17908C
analogous
#901757 #90171B #905017
triadic
#90171B #1B9017 #171B90
tetradic
#90171B #579017 #17908C #501790
square
#90171B #579017 #17908C #501790
split-complementary
#90171B #179050 #175790
monochromatic
#260607 #5B0F11 #90171B #C51F25 #E14146

Accessibility & contrast

On white

9.04
#90171B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#90171B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90171B
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90171B#FFFFFF#000000##FFFFFF
##90171B1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F381A
Deuteranopia (green-blind)
#5C5215
Tritanopia (blue-blind)
#9F001A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #90171b;
/* rgb */ color: rgb(144, 23, 27);
/* oklch */ color: oklch(42.3% 0.155 25.7);
Tailwind
colors: {
  custom: {
    50: '#b96258',
    500: '#90171b',
    950: '#000000',
  },
}
SCSS
$custom: #90171b;
$custom-light: #b96258;
$custom-dark: #000000;
JSON
{
  "hex": "#90171b",
  "rgb": {
    "r": 144,
    "g": 23,
    "b": 27
  },
  "hsl": {
    "h": 358.017,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42342,
    "c": 0.15529,
    "h": 25.7
  },
  "luminance": 0.06621
}

Semantic roles & 50–950 ramp

primary
#90171B
secondary
#42C1BD
accent
#EFE939
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #90171B

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

Preview Lab → · Contrast checker → · Palette generator →

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