#90172B#90172B

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

Color values

HEX#90172B
RGBrgb(144, 23, 43)
HSLhsl(350, 72%, 33%)
HSVhsv(350, 84%, 56%)
CMYKcmyk(0%, 84%, 70.1%, 43.5%)
CIE-LABlab(31.16, 49.27, 21.32)
CIE-LCHlch(31.16, 53.69, 23.40°)
OKLaboklab(42.58% 0.1458 0.0499)
OKLCHoklch(42.58% 0.154 18.9)
XYZxyz(12.2454, 6.7184, 2.9370)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90172B #17907C
analogous
#901767 #90172B #904017
triadic
#90172B #2B9017 #172B90
tetradic
#90172B #679017 #17907C #401790
square
#90172B #679017 #17907C #401790
split-complementary
#90172B #179040 #176790
monochromatic
#26060B #5B0F1B #90172B #C51F3B #E1415B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##90172B#FFFFFF#000000##FFFFFF
##90172B1.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)
#3D392B
Deuteranopia (green-blind)
#5B5227
Tritanopia (blue-blind)
#9F0020
Achromatopsia (no color)
#494949

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#90172B
secondary
#42C1AC
accent
#EFD139
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130605
muted
#827A79

Preview Lab

Preview with #90172B

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

Preview Lab → · Contrast checker → · Palette generator →

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