#90166F#90166F

#90166F is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.8% C 0.177 H 342.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#90166F
RGBrgb(144, 22, 111)
HSLhsl(316, 73%, 33%)
HSVhsv(316, 85%, 56%)
CMYKcmyk(0%, 84.7%, 22.9%, 43.5%)
CIE-LABlab(33.25, 55.86, -20.06)
CIE-LCHlch(33.25, 59.35, 340.25°)
OKLaboklab(44.81% 0.1684 -0.0539)
OKLCHoklch(44.81% 0.177 342.2)
XYZxyz(14.6583, 7.6524, 15.7410)
Luminance0.0765 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90166F #169037
analogous
#741690 #90166F #901632
triadic
#90166F #6F9016 #166F90
tetradic
#90166F #907416 #169037 #163290
square
#90166F #907416 #169037 #163290
split-complementary
#90166F #329016 #169074
monochromatic
#26061D #5B0E46 #90166F #C51E98 #E23FB6

Accessibility & contrast

On white

8.30
#90166F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #90166F
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90166F#FFFFFF#000000##FFFFFF
##90166F1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254271
Deuteranopia (green-blind)
#4C556C
Tritanopia (blue-blind)
#9A1842
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #90166f;
/* rgb */ color: rgb(144, 22, 111);
/* oklch */ color: oklch(44.8% 0.177 342.2);
Tailwind
colors: {
  custom: {
    50: '#b56598',
    500: '#90166f',
    950: '#000000',
  },
}
SCSS
$custom: #90166f;
$custom-light: #b56598;
$custom-dark: #000000;
JSON
{
  "hex": "#90166f",
  "rgb": {
    "r": 144,
    "g": 22,
    "b": 111
  },
  "hsl": {
    "h": 316.23,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44813,
    "c": 0.17682,
    "h": 342.2
  },
  "luminance": 0.07651
}

Semantic roles & 50–950 ramp

primary
#90166F
secondary
#40C263
accent
#F06A38
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E

Preview Lab

Preview with #90166F

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

Preview Lab → · Contrast checker → · Palette generator →

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