#90172A#90172A

#90172A is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.6% C 0.154 H 19.4°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#90172A
RGBrgb(144, 23, 42)
HSLhsl(351, 72%, 33%)
HSVhsv(351, 84%, 56%)
CMYKcmyk(0%, 84%, 70.8%, 43.5%)
CIE-LABlab(31.14, 49.22, 21.95)
CIE-LCHlch(31.14, 53.89, 24.04°)
OKLaboklab(42.56% 0.1454 0.0511)
OKLCHoklch(42.56% 0.154 19.4)
XYZxyz(12.2273, 6.7112, 2.8416)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90172A #17907D
analogous
#901766 #90172A #904117
triadic
#90172A #2A9017 #172A90
tetradic
#90172A #669017 #17907D #411790
square
#90172A #669017 #17907D #411790
split-complementary
#90172A #179041 #176690
monochromatic
#26060B #5B0F1B #90172A #C51F39 #E1415A

Accessibility & contrast

On white

8.97
#90172A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#90172A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90172A
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90172A#FFFFFF#000000##FFFFFF
##90172A1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D392A
Deuteranopia (green-blind)
#5B5226
Tritanopia (blue-blind)
#9F0020
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #90172a;
/* rgb */ color: rgb(144, 23, 42);
/* oklch */ color: oklch(42.6% 0.154 19.4);
Tailwind
colors: {
  custom: {
    50: '#b86363',
    500: '#90172a',
    950: '#000000',
  },
}
SCSS
$custom: #90172a;
$custom-light: #b86363;
$custom-dark: #000000;
JSON
{
  "hex": "#90172a",
  "rgb": {
    "r": 144,
    "g": 23,
    "b": 42
  },
  "hsl": {
    "h": 350.579,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42561,
    "c": 0.15413,
    "h": 19.4
  },
  "luminance": 0.06709
}

Semantic roles & 50–950 ramp

primary
#90172A
secondary
#42C1AD
accent
#EFD339
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130605
muted
#827A79

Preview Lab

Preview with #90172A

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

Preview Lab → · Contrast checker → · Palette generator →

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