#901B79#901B79

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

Color values

HEX#901B79
RGBrgb(144, 27, 121)
HSLhsl(312, 68%, 34%)
HSVhsv(312, 81%, 56%)
CMYKcmyk(0%, 81.3%, 16%, 43.5%)
CIE-LABlab(34.18, 55.96, -24.93)
CIE-LCHlch(34.18, 61.27, 335.99°)
OKLaboklab(45.64% 0.1657 -0.0678)
OKLCHoklch(45.64% 0.179 337.7)
XYZxyz(15.3451, 8.0951, 18.8398)
Luminance0.0809 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901B79 #1B9032
analogous
#6C1B90 #901B79 #901B3E
triadic
#901B79 #79901B #1B7990
tetradic
#901B79 #906C1B #1B9032 #1B3E90
square
#901B79 #906C1B #1B9032 #1B3E90
split-complementary
#901B79 #3E901B #1B906C
monochromatic
#290822 #5C114E #901B79 #C425A4 #DD49C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##901B79#FFFFFF#000000##FFFFFF
##901B791.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)
#21457B
Deuteranopia (green-blind)
#4A5776
Tritanopia (blue-blind)
#982349
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #901b79;
/* rgb */ color: rgb(144, 27, 121);
/* oklch */ color: oklch(45.6% 0.179 337.7);
Tailwind
colors: {
  custom: {
    50: '#b467a0',
    500: '#901b79',
    950: '#000000',
  },
}
SCSS
$custom: #901b79;
$custom-light: #b467a0;
$custom-dark: #000000;
JSON
{
  "hex": "#901b79",
  "rgb": {
    "r": 144,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 311.795,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45642,
    "c": 0.17903,
    "h": 337.7
  },
  "luminance": 0.08094
}

Semantic roles & 50–950 ramp

primary
#901B79
secondary
#48BF5F
accent
#EB5F3D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #901B79

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

Preview Lab → · Contrast checker → · Palette generator →

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