#901E7B#901E7B

#901E7B is a mid, vivid pink. Relative luminance 0.083; OKLCH L 46.0% C 0.178 H 336.9°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#901E7B
RGBrgb(144, 30, 123)
HSLhsl(311, 66%, 34%)
HSVhsv(311, 79%, 56%)
CMYKcmyk(0%, 79.2%, 14.6%, 43.5%)
CIE-LABlab(34.58, 55.40, -25.56)
CIE-LCHlch(34.58, 61.02, 335.23°)
OKLaboklab(45.96% 0.1633 -0.0696)
OKLCHoklch(45.96% 0.178 336.9)
XYZxyz(15.5413, 8.2894, 19.5166)
Luminance0.0829 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901E7B #1E9033
analogous
#6C1E90 #901E7B #901E42
triadic
#901E7B #7B901E #1E7B90
tetradic
#901E7B #906C1E #1E9033 #1E4290
square
#901E7B #906C1E #1E9033 #1E4290
split-complementary
#901E7B #42901E #1E906C
monochromatic
#2B0924 #5D1350 #901E7B #C329A6 #DA4EC0

Accessibility & contrast

On white

7.90
#901E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#901E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901E7B
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901E7B#FFFFFF#000000##FFFFFF
##901E7B1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21467D
Deuteranopia (green-blind)
#4A5778
Tritanopia (blue-blind)
#98264B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #901e7b;
/* rgb */ color: rgb(144, 30, 123);
/* oklch */ color: oklch(46.0% 0.178 336.9);
Tailwind
colors: {
  custom: {
    50: '#b468a1',
    500: '#901e7b',
    950: '#000000',
  },
}
SCSS
$custom: #901e7b;
$custom-light: #b468a1;
$custom-dark: #000000;
JSON
{
  "hex": "#901e7b",
  "rgb": {
    "r": 144,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 311.053,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45962,
    "c": 0.17753,
    "h": 336.9
  },
  "luminance": 0.08288
}

Semantic roles & 50–950 ramp

primary
#901E7B
secondary
#4DBD62
accent
#E85E3F
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #901E7B

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

Preview Lab → · Contrast checker → · Palette generator →

#901E7B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva