#90172F#90172F

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

Color values

HEX#90172F
RGBrgb(144, 23, 47)
HSLhsl(348, 72%, 33%)
HSVhsv(348, 84%, 56%)
CMYKcmyk(0%, 84%, 67.4%, 43.5%)
CIE-LABlab(31.23, 49.49, 18.81)
CIE-LCHlch(31.23, 52.94, 20.81°)
OKLaboklab(42.66% 0.1474 0.0448)
OKLCHoklch(42.66% 0.154 16.9)
XYZxyz(12.3225, 6.7492, 3.3427)
Luminance0.0675 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90172F #179078
analogous
#90176B #90172F #903B17
triadic
#90172F #2F9017 #172F90
tetradic
#90172F #6B9017 #179078 #3B1790
square
#90172F #6B9017 #179078 #3B1790
split-complementary
#90172F #17903B #176B90
monochromatic
#26060D #5B0F1E #90172F #C51F40 #E14160

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##90172F#FFFFFF#000000##FFFFFF
##90172F1.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)
#3C392F
Deuteranopia (green-blind)
#5A522B
Tritanopia (blue-blind)
#9F0022
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #90172f;
/* rgb */ color: rgb(144, 23, 47);
/* oklch */ color: oklch(42.7% 0.154 16.9);
Tailwind
colors: {
  custom: {
    50: '#b86367',
    500: '#90172f',
    950: '#000000',
  },
}
SCSS
$custom: #90172f;
$custom-light: #b86367;
$custom-dark: #000000;
JSON
{
  "hex": "#90172f",
  "rgb": {
    "r": 144,
    "g": 23,
    "b": 47
  },
  "hsl": {
    "h": 348.099,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42655,
    "c": 0.15407,
    "h": 16.9
  },
  "luminance": 0.06747
}

Semantic roles & 50–950 ramp

primary
#90172F
secondary
#42C1A8
accent
#EFCB39
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A

Preview Lab

Preview with #90172F

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

Preview Lab → · Contrast checker → · Palette generator →

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