#901A7A#901A7A

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

Color values

HEX#901A7A
RGBrgb(144, 26, 122)
HSLhsl(311, 69%, 33%)
HSVhsv(311, 82%, 56%)
CMYKcmyk(0%, 81.9%, 15.3%, 43.5%)
CIE-LABlab(34.14, 56.38, -25.62)
CIE-LCHlch(34.14, 61.93, 335.56°)
OKLaboklab(45.63% 0.1666 -0.0698)
OKLCHoklch(45.63% 0.181 337.3)
XYZxyz(15.3842, 8.0747, 19.1569)
Luminance0.0807 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901A7A #1A9030
analogous
#6B1A90 #901A7A #901A3F
triadic
#901A7A #7A901A #1A7A90
tetradic
#901A7A #906B1A #1A9030 #1A3F90
square
#901A7A #906B1A #1A9030 #1A3F90
split-complementary
#901A7A #3F901A #1A906B
monochromatic
#280722 #5C114E #901A7A #C423A6 #DE47C2

Accessibility & contrast

On white

8.03
#901A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#901A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901A7A
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901A7A#FFFFFF#000000##FFFFFF
##901A7A1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #901a7a;
/* rgb */ color: rgb(144, 26, 122);
/* oklch */ color: oklch(45.6% 0.181 337.3);
Tailwind
colors: {
  custom: {
    50: '#b466a0',
    500: '#901a7a',
    950: '#000000',
  },
}
SCSS
$custom: #901a7a;
$custom-light: #b466a0;
$custom-dark: #000000;
JSON
{
  "hex": "#901a7a",
  "rgb": {
    "r": 144,
    "g": 26,
    "b": 122
  },
  "hsl": {
    "h": 311.186,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45629,
    "c": 0.1806,
    "h": 337.3
  },
  "luminance": 0.08073
}

Semantic roles & 50–950 ramp

primary
#901A7A
secondary
#47BF5D
accent
#EC5D3C
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #901A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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