#90171E#90171E

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

Color values

HEX#90171E
RGBrgb(144, 23, 30)
HSLhsl(357, 72%, 33%)
HSVhsv(357, 84%, 56%)
CMYKcmyk(0%, 84%, 79.2%, 43.5%)
CIE-LABlab(30.97, 48.69, 29.33)
CIE-LCHlch(30.97, 56.84, 31.06°)
OKLaboklab(42.38% 0.1409 0.0646)
OKLCHoklch(42.38% 0.155 24.6)
XYZxyz(12.0438, 6.6378, 1.8751)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90171E #179089
analogous
#90175A #90171E #904C17
triadic
#90171E #1E9017 #171E90
tetradic
#90171E #5A9017 #179089 #4C1790
square
#90171E #5A9017 #179089 #4C1790
split-complementary
#90171E #17904C #175A90
monochromatic
#260608 #5B0F13 #90171E #C51F29 #E1414A

Accessibility & contrast

On white

9.02
#90171E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #90171E
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90171E#FFFFFF#000000##FFFFFF
##90171E1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #90171e;
/* rgb */ color: rgb(144, 23, 30);
/* oklch */ color: oklch(42.4% 0.155 24.6);
Tailwind
colors: {
  custom: {
    50: '#b9625a',
    500: '#90171e',
    950: '#000000',
  },
}
SCSS
$custom: #90171e;
$custom-light: #b9625a;
$custom-dark: #000000;
JSON
{
  "hex": "#90171e",
  "rgb": {
    "r": 144,
    "g": 23,
    "b": 30
  },
  "hsl": {
    "h": 356.529,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42378,
    "c": 0.15498,
    "h": 24.6
  },
  "luminance": 0.06636
}

Semantic roles & 50–950 ramp

primary
#90171E
secondary
#42C1BA
accent
#EFE539
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #90171E

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

Preview Lab → · Contrast checker → · Palette generator →

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