#901A7B#901A7B

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

Color values

HEX#901A7B
RGBrgb(144, 26, 123)
HSLhsl(311, 69%, 33%)
HSVhsv(311, 82%, 56%)
CMYKcmyk(0%, 81.9%, 14.6%, 43.5%)
CIE-LABlab(34.19, 56.52, -26.17)
CIE-LCHlch(34.19, 62.29, 335.15°)
OKLaboklab(45.68% 0.1667 -0.0713)
OKLCHoklch(45.68% 0.181 336.8)
XYZxyz(15.4465, 8.0996, 19.4849)
Luminance0.0810 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901A7B #1A902F
analogous
#6A1A90 #901A7B #901A40
triadic
#901A7B #7B901A #1A7B90
tetradic
#901A7B #906A1A #1A902F #1A4090
square
#901A7B #906A1A #1A902F #1A4090
split-complementary
#901A7B #40901A #1A906A
monochromatic
#280722 #5C114F #901A7B #C423A7 #DE47C3

Accessibility & contrast

On white

8.02
#901A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #901A7B
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901A7B#FFFFFF#000000##FFFFFF
##901A7B1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E457D
Deuteranopia (green-blind)
#495778
Tritanopia (blue-blind)
#98234A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #901a7b;
/* rgb */ color: rgb(144, 26, 123);
/* oklch */ color: oklch(45.7% 0.181 336.8);
Tailwind
colors: {
  custom: {
    50: '#b466a1',
    500: '#901a7b',
    950: '#000000',
  },
}
SCSS
$custom: #901a7b;
$custom-light: #b466a1;
$custom-dark: #000000;
JSON
{
  "hex": "#901a7b",
  "rgb": {
    "r": 144,
    "g": 26,
    "b": 123
  },
  "hsl": {
    "h": 310.678,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45682,
    "c": 0.18129,
    "h": 336.8
  },
  "luminance": 0.08098
}

Semantic roles & 50–950 ramp

primary
#901A7B
secondary
#47BF5C
accent
#EC5B3C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #901A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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