#90172C#90172C

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

Color values

HEX#90172C
RGBrgb(144, 23, 44)
HSLhsl(350, 72%, 33%)
HSVhsv(350, 84%, 56%)
CMYKcmyk(0%, 84%, 69.4%, 43.5%)
CIE-LABlab(31.17, 49.32, 20.70)
CIE-LCHlch(31.17, 53.49, 22.76°)
OKLaboklab(42.6% 0.1462 0.0486)
OKLCHoklch(42.6% 0.154 18.4)
XYZxyz(12.2640, 6.7259, 3.0349)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90172C #17907B
analogous
#901768 #90172C #903F17
triadic
#90172C #2C9017 #172C90
tetradic
#90172C #689017 #17907B #3F1790
square
#90172C #689017 #17907B #3F1790
split-complementary
#90172C #17903F #176890
monochromatic
#26060C #5B0F1C #90172C #C51F3C #E1415D

Accessibility & contrast

On white

8.96
#90172C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #90172C
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90172C#FFFFFF#000000##FFFFFF
##90172C1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D392C
Deuteranopia (green-blind)
#5B5228
Tritanopia (blue-blind)
#9F0021
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #90172c;
/* rgb */ color: rgb(144, 23, 44);
/* oklch */ color: oklch(42.6% 0.154 18.4);
Tailwind
colors: {
  custom: {
    50: '#b86364',
    500: '#90172c',
    950: '#000000',
  },
}
SCSS
$custom: #90172c;
$custom-light: #b86364;
$custom-dark: #000000;
JSON
{
  "hex": "#90172c",
  "rgb": {
    "r": 144,
    "g": 23,
    "b": 44
  },
  "hsl": {
    "h": 349.587,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42597,
    "c": 0.15408,
    "h": 18.4
  },
  "luminance": 0.06724
}

Semantic roles & 50–950 ramp

primary
#90172C
secondary
#42C1AB
accent
#EFCF39
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130605
muted
#827A7A

Preview Lab

Preview with #90172C

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

Preview Lab → · Contrast checker → · Palette generator →

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