#90166C#90166C

#90166C is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.7% C 0.175 H 343.7°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#90166C
RGBrgb(144, 22, 108)
HSLhsl(318, 73%, 33%)
HSVhsv(318, 85%, 56%)
CMYKcmyk(0%, 84.7%, 25%, 43.5%)
CIE-LABlab(33.11, 55.47, -18.36)
CIE-LCHlch(33.11, 58.43, 341.68°)
OKLaboklab(44.67% 0.1679 -0.0491)
OKLCHoklch(44.67% 0.175 343.7)
XYZxyz(14.4959, 7.5874, 14.8856)
Luminance0.0759 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90166C #16903A
analogous
#771690 #90166C #90162F
triadic
#90166C #6C9016 #166C90
tetradic
#90166C #907716 #16903A #162F90
square
#90166C #907716 #16903A #162F90
split-complementary
#90166C #2F9016 #169077
monochromatic
#26061C #5B0E44 #90166C #C51E94 #E23FB2

Accessibility & contrast

On white

8.34
#90166C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#90166C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90166C
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90166C#FFFFFF#000000##FFFFFF
##90166C1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27416E
Deuteranopia (green-blind)
#4D5569
Tritanopia (blue-blind)
#9A1541
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #90166c;
/* rgb */ color: rgb(144, 22, 108);
/* oklch */ color: oklch(44.7% 0.175 343.7);
Tailwind
colors: {
  custom: {
    50: '#b56596',
    500: '#90166c',
    950: '#000000',
  },
}
SCSS
$custom: #90166c;
$custom-light: #b56596;
$custom-dark: #000000;
JSON
{
  "hex": "#90166c",
  "rgb": {
    "r": 144,
    "g": 22,
    "b": 108
  },
  "hsl": {
    "h": 317.705,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44667,
    "c": 0.17499,
    "h": 343.7
  },
  "luminance": 0.07586
}

Semantic roles & 50–950 ramp

primary
#90166C
secondary
#40C266
accent
#F06E38
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E

Preview Lab

Preview with #90166C

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

Preview Lab → · Contrast checker → · Palette generator →

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