#90171C#90171C

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

Color values

HEX#90171C
RGBrgb(144, 23, 28)
HSLhsl(358, 72%, 33%)
HSVhsv(358, 84%, 56%)
CMYKcmyk(0%, 84%, 80.6%, 43.5%)
CIE-LABlab(30.94, 48.62, 30.52)
CIE-LCHlch(30.94, 57.40, 32.11°)
OKLaboklab(42.35% 0.1402 0.0665)
OKLCHoklch(42.35% 0.155 25.4)
XYZxyz(12.0191, 6.6279, 1.7449)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90171C #17908B
analogous
#901758 #90171C #904F17
triadic
#90171C #1C9017 #171C90
tetradic
#90171C #589017 #17908B #4F1790
square
#90171C #589017 #17908B #4F1790
split-complementary
#90171C #17904F #175890
monochromatic
#260607 #5B0F12 #90171C #C51F26 #E14147

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##90171C#FFFFFF#000000##FFFFFF
##90171C1.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)
#3F381B
Deuteranopia (green-blind)
#5C5217
Tritanopia (blue-blind)
#9F001B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #90171c;
/* rgb */ color: rgb(144, 23, 28);
/* oklch */ color: oklch(42.4% 0.155 25.4);
Tailwind
colors: {
  custom: {
    50: '#b96258',
    500: '#90171c',
    950: '#000000',
  },
}
SCSS
$custom: #90171c;
$custom-light: #b96258;
$custom-dark: #000000;
JSON
{
  "hex": "#90171c",
  "rgb": {
    "r": 144,
    "g": 23,
    "b": 28
  },
  "hsl": {
    "h": 357.521,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42354,
    "c": 0.15519,
    "h": 25.4
  },
  "luminance": 0.06626
}

Semantic roles & 50–950 ramp

primary
#90171C
secondary
#42C1BC
accent
#EFE839
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #90171C

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

Preview Lab → · Contrast checker → · Palette generator →

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