#902166#902166

#902166 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.161 H 347.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#902166
RGBrgb(144, 33, 102)
HSLhsl(323, 63%, 35%)
HSVhsv(323, 77%, 56%)
CMYKcmyk(0%, 77.1%, 29.2%, 43.5%)
CIE-LABlab(33.94, 51.58, -13.25)
CIE-LCHlch(33.94, 53.25, 345.59°)
OKLaboklab(45.18% 0.1571 -0.035)
OKLCHoklch(45.18% 0.161 347.5)
XYZxyz(14.4444, 7.9779, 13.3470)
Luminance0.0798 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902166 #21904B
analogous
#832190 #902166 #90212E
triadic
#902166 #669021 #216690
tetradic
#902166 #908321 #21904B #212E90
square
#902166 #908321 #21904B #212E90
split-complementary
#902166 #2E9021 #219083
monochromatic
#2C0A1F #5E1643 #902166 #C22C89 #D854A6

Accessibility & contrast

On white

8.09
#902166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#902166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902166
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902166#FFFFFF#000000##FFFFFF
##9021661.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314468
Deuteranopia (green-blind)
#525763
Tritanopia (blue-blind)
#9A1C41
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #902166;
/* rgb */ color: rgb(144, 33, 102);
/* oklch */ color: oklch(45.2% 0.161 347.5);
Tailwind
colors: {
  custom: {
    50: '#b56891',
    500: '#902166',
    950: '#000000',
  },
}
SCSS
$custom: #902166;
$custom-light: #b56891;
$custom-dark: #000000;
JSON
{
  "hex": "#902166",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 102
  },
  "hsl": {
    "h": 322.703,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45181,
    "c": 0.16092,
    "h": 347.5
  },
  "luminance": 0.07976
}

Semantic roles & 50–950 ramp

primary
#902166
secondary
#51BB7A
accent
#E68042
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #902166

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

Preview Lab → · Contrast checker → · Palette generator →

#902166 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva