#90171F#90171F

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

Color values

HEX#90171F
RGBrgb(144, 23, 31)
HSLhsl(356, 72%, 33%)
HSVhsv(356, 84%, 56%)
CMYKcmyk(0%, 84%, 78.5%, 43.5%)
CIE-LABlab(30.98, 48.73, 28.73)
CIE-LCHlch(30.98, 56.57, 30.53°)
OKLaboklab(42.39% 0.1412 0.0636)
OKLCHoklch(42.39% 0.155 24.2)
XYZxyz(12.0568, 6.6430, 1.9435)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90171F #179088
analogous
#90175B #90171F #904B17
triadic
#90171F #1F9017 #171F90
tetradic
#90171F #5B9017 #179088 #4B1790
square
#90171F #5B9017 #179088 #4B1790
split-complementary
#90171F #17904B #175B90
monochromatic
#260608 #5B0F14 #90171F #C51F2A #E1414B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##90171F#FFFFFF#000000##FFFFFF
##90171F1.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)
#3E381E
Deuteranopia (green-blind)
#5C521A
Tritanopia (blue-blind)
#9F001C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #90171f;
/* rgb */ color: rgb(144, 23, 31);
/* oklch */ color: oklch(42.4% 0.155 24.2);
Tailwind
colors: {
  custom: {
    50: '#b9625b',
    500: '#90171f',
    950: '#000000',
  },
}
SCSS
$custom: #90171f;
$custom-light: #b9625b;
$custom-dark: #000000;
JSON
{
  "hex": "#90171f",
  "rgb": {
    "r": 144,
    "g": 23,
    "b": 31
  },
  "hsl": {
    "h": 356.033,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42391,
    "c": 0.15488,
    "h": 24.2
  },
  "luminance": 0.06641
}

Semantic roles & 50–950 ramp

primary
#90171F
secondary
#42C1B9
accent
#EFE339
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #90171F

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

Preview Lab → · Contrast checker → · Palette generator →

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