#901A78#901A78

#901A78 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.5% C 0.179 H 338.2°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#901A78
RGBrgb(144, 26, 120)
HSLhsl(312, 69%, 33%)
HSVhsv(312, 82%, 56%)
CMYKcmyk(0%, 81.9%, 16.7%, 43.5%)
CIE-LABlab(34.04, 56.09, -24.53)
CIE-LCHlch(34.04, 61.22, 336.38°)
OKLaboklab(45.52% 0.1664 -0.0666)
OKLCHoklch(45.52% 0.179 338.2)
XYZxyz(15.2615, 8.0257, 18.5110)
Luminance0.0802 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901A78 #1A9032
analogous
#6D1A90 #901A78 #901A3D
triadic
#901A78 #78901A #1A7890
tetradic
#901A78 #906D1A #1A9032 #1A3D90
square
#901A78 #906D1A #1A9032 #1A3D90
split-complementary
#901A78 #3D901A #1A906D
monochromatic
#280722 #5C114D #901A78 #C423A3 #DE47BF

Accessibility & contrast

On white

8.06
#901A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#901A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901A78
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901A78#FFFFFF#000000##FFFFFF
##901A781.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21457A
Deuteranopia (green-blind)
#4A5675
Tritanopia (blue-blind)
#982148
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #901a78;
/* rgb */ color: rgb(144, 26, 120);
/* oklch */ color: oklch(45.5% 0.179 338.2);
Tailwind
colors: {
  custom: {
    50: '#b4669f',
    500: '#901a78',
    950: '#000000',
  },
}
SCSS
$custom: #901a78;
$custom-light: #b4669f;
$custom-dark: #000000;
JSON
{
  "hex": "#901a78",
  "rgb": {
    "r": 144,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 312.203,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45523,
    "c": 0.17926,
    "h": 338.2
  },
  "luminance": 0.08024
}

Semantic roles & 50–950 ramp

primary
#901A78
secondary
#47BF5F
accent
#EC603C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #901A78

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

Preview Lab → · Contrast checker → · Palette generator →

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