#90217D#90217D

#90217D is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.3% C 0.176 H 336.1°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#90217D
RGBrgb(144, 33, 125)
HSLhsl(310, 63%, 35%)
HSVhsv(310, 77%, 56%)
CMYKcmyk(0%, 77.1%, 13.2%, 43.5%)
CIE-LABlab(35.00, 54.78, -26.15)
CIE-LCHlch(35.00, 60.70, 334.48°)
OKLaboklab(46.3% 0.1608 -0.0713)
OKLCHoklch(46.3% 0.176 336.1)
XYZxyz(15.7474, 8.4991, 20.2092)
Luminance0.0850 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90217D #219034
analogous
#6B2190 #90217D #902146
triadic
#90217D #7D9021 #217D90
tetradic
#90217D #906B21 #219034 #214690
square
#90217D #906B21 #219034 #214690
split-complementary
#90217D #469021 #21906B
monochromatic
#2C0A27 #5E1652 #90217D #C22CA8 #D854C1

Accessibility & contrast

On white

7.78
#90217D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#90217D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90217D
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90217D#FFFFFF#000000##FFFFFF
##90217D1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23487F
Deuteranopia (green-blind)
#4A587A
Tritanopia (blue-blind)
#98294D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #90217d;
/* rgb */ color: rgb(144, 33, 125);
/* oklch */ color: oklch(46.3% 0.176 336.1);
Tailwind
colors: {
  custom: {
    50: '#b469a3',
    500: '#90217d',
    950: '#000000',
  },
}
SCSS
$custom: #90217d;
$custom-light: #b469a3;
$custom-dark: #000000;
JSON
{
  "hex": "#90217d",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 310.27,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46299,
    "c": 0.17587,
    "h": 336.1
  },
  "luminance": 0.08498
}

Semantic roles & 50–950 ramp

primary
#90217D
secondary
#51BB64
accent
#E65E42
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #90217D

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

Preview Lab → · Contrast checker → · Palette generator →

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