#901C79#901C79

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

Color values

HEX#901C79
RGBrgb(144, 28, 121)
HSLhsl(312, 67%, 34%)
HSVhsv(312, 81%, 56%)
CMYKcmyk(0%, 80.6%, 16%, 43.5%)
CIE-LABlab(34.28, 55.69, -24.78)
CIE-LCHlch(34.28, 60.95, 336.01°)
OKLaboklab(45.71% 0.1649 -0.0674)
OKLCHoklch(45.71% 0.178 337.8)
XYZxyz(15.3684, 8.1418, 18.8476)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901C79 #1C9033
analogous
#6D1C90 #901C79 #901C3F
triadic
#901C79 #79901C #1C7990
tetradic
#901C79 #906D1C #1C9033 #1C3F90
square
#901C79 #906D1C #1C9033 #1C3F90
split-complementary
#901C79 #3F901C #1C906D
monochromatic
#2A0823 #5D124E #901C79 #C326A4 #DC4ABF

Accessibility & contrast

On white

7.99
#901C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#901C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901C79
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901C79#FFFFFF#000000##FFFFFF
##901C791.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21457B
Deuteranopia (green-blind)
#4A5776
Tritanopia (blue-blind)
#982349
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #901c79;
/* rgb */ color: rgb(144, 28, 121);
/* oklch */ color: oklch(45.7% 0.178 337.8);
Tailwind
colors: {
  custom: {
    50: '#b467a0',
    500: '#901c79',
    950: '#000000',
  },
}
SCSS
$custom: #901c79;
$custom-light: #b467a0;
$custom-dark: #000000;
JSON
{
  "hex": "#901c79",
  "rgb": {
    "r": 144,
    "g": 28,
    "b": 121
  },
  "hsl": {
    "h": 311.897,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45712,
    "c": 0.17809,
    "h": 337.8
  },
  "luminance": 0.0814
}

Semantic roles & 50–950 ramp

primary
#901C79
secondary
#4ABE61
accent
#EA603D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #901C79

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

Preview Lab → · Contrast checker → · Palette generator →

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