#901F7A#901F7A

#901F7A is a mid, vivid pink. Relative luminance 0.083; OKLCH L 46.0% C 0.176 H 337.4°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#901F7A
RGBrgb(144, 31, 122)
HSLhsl(312, 65%, 34%)
HSVhsv(312, 78%, 56%)
CMYKcmyk(0%, 78.5%, 15.3%, 43.5%)
CIE-LABlab(34.63, 54.96, -24.85)
CIE-LCHlch(34.63, 60.31, 335.67°)
OKLaboklab(45.98% 0.1623 -0.0676)
OKLCHoklch(45.98% 0.176 337.4)
XYZxyz(15.5048, 8.3159, 19.1971)
Luminance0.0831 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901F7A #1F9035
analogous
#6D1F90 #901F7A #901F42
triadic
#901F7A #7A901F #1F7A90
tetradic
#901F7A #906D1F #1F9035 #1F4290
square
#901F7A #906D1F #1F9035 #1F4290
split-complementary
#901F7A #42901F #1F906D
monochromatic
#2B0925 #5E144F #901F7A #C22AA5 #D950BF

Accessibility & contrast

On white

7.89
#901F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#901F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901F7A
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901F7A#FFFFFF#000000##FFFFFF
##901F7A1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23467C
Deuteranopia (green-blind)
#4B5877
Tritanopia (blue-blind)
#98264B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #901f7a;
/* rgb */ color: rgb(144, 31, 122);
/* oklch */ color: oklch(46.0% 0.176 337.4);
Tailwind
colors: {
  custom: {
    50: '#b468a0',
    500: '#901f7a',
    950: '#000000',
  },
}
SCSS
$custom: #901f7a;
$custom-light: #b468a0;
$custom-dark: #000000;
JSON
{
  "hex": "#901f7a",
  "rgb": {
    "r": 144,
    "g": 31,
    "b": 122
  },
  "hsl": {
    "h": 311.681,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45984,
    "c": 0.17583,
    "h": 337.4
  },
  "luminance": 0.08314
}

Semantic roles & 50–950 ramp

primary
#901F7A
secondary
#4EBC64
accent
#E86140
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #901F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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