#90157B#90157B

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

Color values

HEX#90157B
RGBrgb(144, 21, 123)
HSLhsl(310, 75%, 32%)
HSVhsv(310, 85%, 56%)
CMYKcmyk(0%, 85.4%, 14.6%, 43.5%)
CIE-LABlab(33.77, 57.74, -26.83)
CIE-LCHlch(33.77, 63.67, 335.08°)
OKLaboklab(45.38% 0.1703 -0.0732)
OKLCHoklch(45.38% 0.185 336.7)
XYZxyz(15.3452, 7.8972, 19.4512)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90157B #15902A
analogous
#681590 #90157B #90153E
triadic
#90157B #7B9015 #157B90
tetradic
#90157B #906815 #15902A #153E90
square
#90157B #906815 #15902A #153E90
split-complementary
#90157B #3E9015 #159068
monochromatic
#250520 #5B0D4D #90157B #C51DA9 #E33DC6

Accessibility & contrast

On white

8.14
#90157B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#90157B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90157B
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90157B#FFFFFF#000000##FFFFFF
##90157B1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19447E
Deuteranopia (green-blind)
#475678
Tritanopia (blue-blind)
#982049
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #90157b;
/* rgb */ color: rgb(144, 21, 123);
/* oklch */ color: oklch(45.4% 0.185 336.7);
Tailwind
colors: {
  custom: {
    50: '#b465a1',
    500: '#90157b',
    950: '#000000',
  },
}
SCSS
$custom: #90157b;
$custom-light: #b465a1;
$custom-dark: #000000;
JSON
{
  "hex": "#90157b",
  "rgb": {
    "r": 144,
    "g": 21,
    "b": 123
  },
  "hsl": {
    "h": 310.244,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45381,
    "c": 0.18539,
    "h": 336.7
  },
  "luminance": 0.07896
}

Semantic roles & 50–950 ramp

primary
#90157B
secondary
#3EC255
accent
#F15637
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060F
muted
#817A7E

Preview Lab

Preview with #90157B

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

Preview Lab → · Contrast checker → · Palette generator →

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