#90171A#90171A

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

Color values

HEX#90171A
RGBrgb(144, 23, 26)
HSLhsl(359, 72%, 33%)
HSVhsv(359, 84%, 56%)
CMYKcmyk(0%, 84%, 81.9%, 43.5%)
CIE-LABlab(30.92, 48.55, 31.68)
CIE-LCHlch(30.92, 57.97, 33.12°)
OKLaboklab(42.33% 0.1396 0.0684)
OKLCHoklch(42.33% 0.155 26.1)
XYZxyz(11.9959, 6.6186, 1.6230)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90171A #17908D
analogous
#901757 #90171A #905017
triadic
#90171A #1A9017 #171A90
tetradic
#90171A #579017 #17908D #501790
square
#90171A #579017 #17908D #501790
split-complementary
#90171A #179050 #175790
monochromatic
#260607 #5B0F10 #90171A #C51F24 #E14145

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##90171A#FFFFFF#000000##FFFFFF
##90171A1.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)
#3F3818
Deuteranopia (green-blind)
#5C5214
Tritanopia (blue-blind)
#9F001A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #90171a;
/* rgb */ color: rgb(144, 23, 26);
/* oklch */ color: oklch(42.3% 0.155 26.1);
Tailwind
colors: {
  custom: {
    50: '#ba6257',
    500: '#90171a',
    950: '#000000',
  },
}
SCSS
$custom: #90171a;
$custom-light: #ba6257;
$custom-dark: #000000;
JSON
{
  "hex": "#90171a",
  "rgb": {
    "r": 144,
    "g": 23,
    "b": 26
  },
  "hsl": {
    "h": 358.512,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4233,
    "c": 0.15541,
    "h": 26.1
  },
  "luminance": 0.06617
}

Semantic roles & 50–950 ramp

primary
#90171A
secondary
#42C1BE
accent
#EFEB39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #90171A

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

Preview Lab → · Contrast checker → · Palette generator →

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