#90217A#90217A

#90217A is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.1% C 0.174 H 337.4°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#90217A
RGBrgb(144, 33, 122)
HSLhsl(312, 63%, 35%)
HSVhsv(312, 77%, 56%)
CMYKcmyk(0%, 77.1%, 15.3%, 43.5%)
CIE-LABlab(34.85, 54.33, -24.51)
CIE-LCHlch(34.85, 59.61, 335.72°)
OKLaboklab(46.14% 0.1605 -0.0666)
OKLCHoklch(46.14% 0.174 337.4)
XYZxyz(15.5586, 8.4236, 19.2151)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90217A #219037
analogous
#6F2190 #90217A #902142
triadic
#90217A #7A9021 #217A90
tetradic
#90217A #906F21 #219037 #214290
square
#90217A #906F21 #219037 #214290
split-complementary
#90217A #429021 #21906F
monochromatic
#2C0A26 #5E1650 #90217A #C22CA4 #D854BE

Accessibility & contrast

On white

7.82
#90217A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#90217A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90217A
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90217A#FFFFFF#000000##FFFFFF
##90217A1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25477C
Deuteranopia (green-blind)
#4B5877
Tritanopia (blue-blind)
#98284B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #90217a;
/* rgb */ color: rgb(144, 33, 122);
/* oklch */ color: oklch(46.1% 0.174 337.4);
Tailwind
colors: {
  custom: {
    50: '#b469a0',
    500: '#90217a',
    950: '#000000',
  },
}
SCSS
$custom: #90217a;
$custom-light: #b469a0;
$custom-dark: #000000;
JSON
{
  "hex": "#90217a",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 311.892,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46141,
    "c": 0.17374,
    "h": 337.4
  },
  "luminance": 0.08422
}

Semantic roles & 50–950 ramp

primary
#90217A
secondary
#51BB66
accent
#E66242
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #90217A

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

Preview Lab → · Contrast checker → · Palette generator →

#90217A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva