#90166E#90166E

#90166E is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.8% C 0.176 H 342.7°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#90166E
RGBrgb(144, 22, 110)
HSLhsl(317, 73%, 33%)
HSVhsv(317, 85%, 56%)
CMYKcmyk(0%, 84.7%, 23.6%, 43.5%)
CIE-LABlab(33.20, 55.73, -19.49)
CIE-LCHlch(33.20, 59.04, 340.72°)
OKLaboklab(44.76% 0.1683 -0.0523)
OKLCHoklch(44.76% 0.176 342.7)
XYZxyz(14.6036, 7.6305, 15.4526)
Luminance0.0763 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90166E #169038
analogous
#751690 #90166E #901631
triadic
#90166E #6E9016 #166E90
tetradic
#90166E #907516 #169038 #163190
square
#90166E #907516 #169038 #163190
split-complementary
#90166E #319016 #169075
monochromatic
#26061D #5B0E45 #90166E #C51E97 #E23FB4

Accessibility & contrast

On white

8.31
#90166E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#90166E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90166E
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90166E#FFFFFF#000000##FFFFFF
##90166E1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264270
Deuteranopia (green-blind)
#4D556B
Tritanopia (blue-blind)
#9A1742
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #90166e;
/* rgb */ color: rgb(144, 22, 110);
/* oklch */ color: oklch(44.8% 0.176 342.7);
Tailwind
colors: {
  custom: {
    50: '#b56597',
    500: '#90166e',
    950: '#000000',
  },
}
SCSS
$custom: #90166e;
$custom-light: #b56597;
$custom-dark: #000000;
JSON
{
  "hex": "#90166e",
  "rgb": {
    "r": 144,
    "g": 22,
    "b": 110
  },
  "hsl": {
    "h": 316.721,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44764,
    "c": 0.17621,
    "h": 342.7
  },
  "luminance": 0.07629
}

Semantic roles & 50–950 ramp

primary
#90166E
secondary
#40C264
accent
#F06B38
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E

Preview Lab

Preview with #90166E

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

Preview Lab → · Contrast checker → · Palette generator →

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