#901D7A#901D7A

#901D7A is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.8% C 0.178 H 337.3°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#901D7A
RGBrgb(144, 29, 122)
HSLhsl(311, 66%, 34%)
HSVhsv(311, 80%, 56%)
CMYKcmyk(0%, 79.9%, 15.3%, 43.5%)
CIE-LABlab(34.43, 55.55, -25.17)
CIE-LCHlch(34.43, 60.98, 335.62°)
OKLaboklab(45.84% 0.1641 -0.0685)
OKLCHoklch(45.84% 0.178 337.3)
XYZxyz(15.4541, 8.2147, 19.1803)
Luminance0.0821 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901D7A #1D9033
analogous
#6D1D90 #901D7A #901D41
triadic
#901D7A #7A901D #1D7A90
tetradic
#901D7A #906D1D #1D9033 #1D4190
square
#901D7A #906D1D #1D9033 #1D4190
split-complementary
#901D7A #41901D #1D906D
monochromatic
#2A0824 #5D134F #901D7A #C327A5 #DB4CC0

Accessibility & contrast

On white

7.95
#901D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#901D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901D7A
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901D7A#FFFFFF#000000##FFFFFF
##901D7A1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21467C
Deuteranopia (green-blind)
#4A5777
Tritanopia (blue-blind)
#98254A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #901d7a;
/* rgb */ color: rgb(144, 29, 122);
/* oklch */ color: oklch(45.8% 0.178 337.3);
Tailwind
colors: {
  custom: {
    50: '#b467a0',
    500: '#901d7a',
    950: '#000000',
  },
}
SCSS
$custom: #901d7a;
$custom-light: #b467a0;
$custom-dark: #000000;
JSON
{
  "hex": "#901d7a",
  "rgb": {
    "r": 144,
    "g": 29,
    "b": 122
  },
  "hsl": {
    "h": 311.478,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45836,
    "c": 0.17783,
    "h": 337.3
  },
  "luminance": 0.08213
}

Semantic roles & 50–950 ramp

primary
#901D7A
secondary
#4BBD61
accent
#E95F3E
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #901D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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