#901A7C#901A7C

#901A7C is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.7% C 0.182 H 336.4°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#901A7C
RGBrgb(144, 26, 124)
HSLhsl(310, 69%, 33%)
HSVhsv(310, 82%, 56%)
CMYKcmyk(0%, 81.9%, 13.9%, 43.5%)
CIE-LABlab(34.24, 56.67, -26.72)
CIE-LCHlch(34.24, 62.65, 334.76°)
OKLaboklab(45.74% 0.1667 -0.0729)
OKLCHoklch(45.74% 0.182 336.4)
XYZxyz(15.5094, 8.1248, 19.8163)
Luminance0.0812 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901A7C #1A902E
analogous
#691A90 #901A7C #901A41
triadic
#901A7C #7C901A #1A7C90
tetradic
#901A7C #90691A #1A902E #1A4190
square
#901A7C #90691A #1A902E #1A4190
split-complementary
#901A7C #41901A #1A9069
monochromatic
#280723 #5C114F #901A7C #C423A9 #DE47C4

Accessibility & contrast

On white

8.00
#901A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#901A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901A7C
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901A7C#FFFFFF#000000##FFFFFF
##901A7C1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D457F
Deuteranopia (green-blind)
#485779
Tritanopia (blue-blind)
#98244B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #901a7c;
/* rgb */ color: rgb(144, 26, 124);
/* oklch */ color: oklch(45.7% 0.182 336.4);
Tailwind
colors: {
  custom: {
    50: '#b466a2',
    500: '#901a7c',
    950: '#000000',
  },
}
SCSS
$custom: #901a7c;
$custom-light: #b466a2;
$custom-dark: #000000;
JSON
{
  "hex": "#901a7c",
  "rgb": {
    "r": 144,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 310.169,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45736,
    "c": 0.18198,
    "h": 336.4
  },
  "luminance": 0.08123
}

Semantic roles & 50–950 ramp

primary
#901A7C
secondary
#47BF5B
accent
#EC5A3C
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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