#901D7C#901D7C

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

Color values

HEX#901D7C
RGBrgb(144, 29, 124)
HSLhsl(310, 66%, 34%)
HSVhsv(310, 80%, 56%)
CMYKcmyk(0%, 79.9%, 13.9%, 43.5%)
CIE-LABlab(34.53, 55.84, -26.27)
CIE-LCHlch(34.53, 61.71, 334.81°)
OKLaboklab(45.94% 0.1643 -0.0716)
OKLCHoklch(45.94% 0.179 336.4)
XYZxyz(15.5793, 8.2647, 19.8396)
Luminance0.0826 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901D7C #1D9031
analogous
#6B1D90 #901D7C #901D43
triadic
#901D7C #7C901D #1D7C90
tetradic
#901D7C #906B1D #1D9031 #1D4390
square
#901D7C #906B1D #1D9031 #1D4390
split-complementary
#901D7C #43901D #1D906B
monochromatic
#2A0824 #5D1350 #901D7C #C327A8 #DB4CC2

Accessibility & contrast

On white

7.92
#901D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #901D7C
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901D7C#FFFFFF#000000##FFFFFF
##901D7C1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20467E
Deuteranopia (green-blind)
#495779
Tritanopia (blue-blind)
#98264B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #901d7c;
/* rgb */ color: rgb(144, 29, 124);
/* oklch */ color: oklch(45.9% 0.179 336.4);
Tailwind
colors: {
  custom: {
    50: '#b467a2',
    500: '#901d7c',
    950: '#000000',
  },
}
SCSS
$custom: #901d7c;
$custom-light: #b467a2;
$custom-dark: #000000;
JSON
{
  "hex": "#901d7c",
  "rgb": {
    "r": 144,
    "g": 29,
    "b": 124
  },
  "hsl": {
    "h": 310.435,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45942,
    "c": 0.17921,
    "h": 336.4
  },
  "luminance": 0.08263
}

Semantic roles & 50–950 ramp

primary
#901D7C
secondary
#4BBD5F
accent
#E95C3E
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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