#90217B#90217B

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

Color values

HEX#90217B
RGBrgb(144, 33, 123)
HSLhsl(311, 63%, 35%)
HSVhsv(311, 77%, 56%)
CMYKcmyk(0%, 77.1%, 14.6%, 43.5%)
CIE-LABlab(34.90, 54.48, -25.06)
CIE-LCHlch(34.90, 59.97, 335.30°)
OKLaboklab(46.19% 0.1606 -0.0682)
OKLCHoklch(46.19% 0.174 337)
XYZxyz(15.6209, 8.4485, 19.5431)
Luminance0.0845 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90217B #219036
analogous
#6D2190 #90217B #902144
triadic
#90217B #7B9021 #217B90
tetradic
#90217B #906D21 #219036 #214490
square
#90217B #906D21 #219036 #214490
split-complementary
#90217B #449021 #21906D
monochromatic
#2C0A26 #5E1650 #90217B #C22CA6 #D854BF

Accessibility & contrast

On white

7.81
#90217B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#90217B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90217B
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90217B#FFFFFF#000000##FFFFFF
##90217B1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24477D
Deuteranopia (green-blind)
#4B5878
Tritanopia (blue-blind)
#98284C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #90217b;
/* rgb */ color: rgb(144, 33, 123);
/* oklch */ color: oklch(46.2% 0.174 337.0);
Tailwind
colors: {
  custom: {
    50: '#b469a1',
    500: '#90217b',
    950: '#000000',
  },
}
SCSS
$custom: #90217b;
$custom-light: #b469a1;
$custom-dark: #000000;
JSON
{
  "hex": "#90217b",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 123
  },
  "hsl": {
    "h": 311.351,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46193,
    "c": 0.17445,
    "h": 337
  },
  "luminance": 0.08447
}

Semantic roles & 50–950 ramp

primary
#90217B
secondary
#51BB65
accent
#E66142
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #90217B

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

Preview Lab → · Contrast checker → · Palette generator →

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