#90172E#90172E

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

Color values

HEX#90172E
RGBrgb(144, 23, 46)
HSLhsl(349, 72%, 33%)
HSVhsv(349, 84%, 56%)
CMYKcmyk(0%, 84%, 68.1%, 43.5%)
CIE-LABlab(31.21, 49.43, 19.44)
CIE-LCHlch(31.21, 53.11, 21.47°)
OKLaboklab(42.64% 0.147 0.0461)
OKLCHoklch(42.64% 0.154 17.4)
XYZxyz(12.3025, 6.7413, 3.2377)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90172E #179079
analogous
#90176A #90172E #903C17
triadic
#90172E #2E9017 #172E90
tetradic
#90172E #6A9017 #179079 #3C1790
square
#90172E #6A9017 #179079 #3C1790
split-complementary
#90172E #17903C #176A90
monochromatic
#26060C #5B0F1D #90172E #C51F3F #E1415F

Accessibility & contrast

On white

8.94
#90172E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#90172E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90172E
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90172E#FFFFFF#000000##FFFFFF
##90172E1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #90172e;
/* rgb */ color: rgb(144, 23, 46);
/* oklch */ color: oklch(42.6% 0.154 17.4);
Tailwind
colors: {
  custom: {
    50: '#b86366',
    500: '#90172e',
    950: '#000000',
  },
}
SCSS
$custom: #90172e;
$custom-light: #b86366;
$custom-dark: #000000;
JSON
{
  "hex": "#90172e",
  "rgb": {
    "r": 144,
    "g": 23,
    "b": 46
  },
  "hsl": {
    "h": 348.595,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42636,
    "c": 0.15406,
    "h": 17.4
  },
  "luminance": 0.06739
}

Semantic roles & 50–950 ramp

primary
#90172E
secondary
#42C1A9
accent
#EFCC39
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130605
muted
#827A7A

Preview Lab

Preview with #90172E

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

Preview Lab → · Contrast checker → · Palette generator →

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