#90157A#90157A

#90157A is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.3% C 0.185 H 337.2°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#90157A
RGBrgb(144, 21, 122)
HSLhsl(311, 75%, 32%)
HSVhsv(311, 85%, 56%)
CMYKcmyk(0%, 85.4%, 15.3%, 43.5%)
CIE-LABlab(33.72, 57.60, -26.29)
CIE-LCHlch(33.72, 63.31, 335.47°)
OKLaboklab(45.33% 0.1703 -0.0716)
OKLCHoklch(45.33% 0.185 337.2)
XYZxyz(15.2830, 7.8723, 19.1232)
Luminance0.0787 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90157A #15902B
analogous
#691590 #90157A #90153C
triadic
#90157A #7A9015 #157A90
tetradic
#90157A #906915 #15902B #153C90
square
#90157A #906915 #15902B #153C90
split-complementary
#90157A #3C9015 #159069
monochromatic
#25051F #5B0D4D #90157A #C51DA7 #E33DC5

Accessibility & contrast

On white

8.16
#90157A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#90157A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90157A
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90157A#FFFFFF#000000##FFFFFF
##90157A1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A447C
Deuteranopia (green-blind)
#485677
Tritanopia (blue-blind)
#981F48
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #90157a;
/* rgb */ color: rgb(144, 21, 122);
/* oklch */ color: oklch(45.3% 0.185 337.2);
Tailwind
colors: {
  custom: {
    50: '#b565a1',
    500: '#90157a',
    950: '#000000',
  },
}
SCSS
$custom: #90157a;
$custom-light: #b565a1;
$custom-dark: #000000;
JSON
{
  "hex": "#90157a",
  "rgb": {
    "r": 144,
    "g": 21,
    "b": 122
  },
  "hsl": {
    "h": 310.732,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45326,
    "c": 0.18472,
    "h": 337.2
  },
  "luminance": 0.07871
}

Semantic roles & 50–950 ramp

primary
#90157A
secondary
#3EC256
accent
#F15837
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060F
muted
#817A7E

Preview Lab

Preview with #90157A

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

Preview Lab → · Contrast checker → · Palette generator →

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