#901D7B#901D7B

#901D7B is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.9% C 0.179 H 336.9°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#901D7B
RGBrgb(144, 29, 123)
HSLhsl(311, 66%, 34%)
HSVhsv(311, 80%, 56%)
CMYKcmyk(0%, 79.9%, 14.6%, 43.5%)
CIE-LABlab(34.48, 55.69, -25.72)
CIE-LCHlch(34.48, 61.35, 335.21°)
OKLaboklab(45.89% 0.1642 -0.0701)
OKLCHoklch(45.89% 0.179 336.9)
XYZxyz(15.5164, 8.2396, 19.5083)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901D7B #1D9032
analogous
#6C1D90 #901D7B #901D41
triadic
#901D7B #7B901D #1D7B90
tetradic
#901D7B #906C1D #1D9032 #1D4190
square
#901D7B #906C1D #1D9032 #1D4190
split-complementary
#901D7B #41901D #1D906C
monochromatic
#2A0824 #5D134F #901D7B #C327A7 #DB4CC1

Accessibility & contrast

On white

7.93
#901D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#901D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901D7B
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901D7B#FFFFFF#000000##FFFFFF
##901D7B1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #901d7b;
/* rgb */ color: rgb(144, 29, 123);
/* oklch */ color: oklch(45.9% 0.179 336.9);
Tailwind
colors: {
  custom: {
    50: '#b467a1',
    500: '#901d7b',
    950: '#000000',
  },
}
SCSS
$custom: #901d7b;
$custom-light: #b467a1;
$custom-dark: #000000;
JSON
{
  "hex": "#901d7b",
  "rgb": {
    "r": 144,
    "g": 29,
    "b": 123
  },
  "hsl": {
    "h": 310.957,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45889,
    "c": 0.17852,
    "h": 336.9
  },
  "luminance": 0.08238
}

Semantic roles & 50–950 ramp

primary
#901D7B
secondary
#4BBD60
accent
#E95E3E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #901D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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