#901E7C#901E7C

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

Color values

HEX#901E7C
RGBrgb(144, 30, 124)
HSLhsl(311, 66%, 34%)
HSVhsv(311, 79%, 56%)
CMYKcmyk(0%, 79.2%, 13.9%, 43.5%)
CIE-LABlab(34.63, 55.55, -26.11)
CIE-LCHlch(34.63, 61.38, 334.83°)
OKLaboklab(46.02% 0.1634 -0.0712)
OKLCHoklch(46.02% 0.178 336.5)
XYZxyz(15.6042, 8.3145, 19.8479)
Luminance0.0831 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901E7C #1E9032
analogous
#6B1E90 #901E7C #901E43
triadic
#901E7C #7C901E #1E7C90
tetradic
#901E7C #906B1E #1E9032 #1E4390
square
#901E7C #906B1E #1E9032 #1E4390
split-complementary
#901E7C #43901E #1E906B
monochromatic
#2B0925 #5D1350 #901E7C #C329A8 #DA4EC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##901E7C#FFFFFF#000000##FFFFFF
##901E7C1.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)
#21477E
Deuteranopia (green-blind)
#4A5779
Tritanopia (blue-blind)
#98274C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #901e7c;
/* rgb */ color: rgb(144, 30, 124);
/* oklch */ color: oklch(46.0% 0.178 336.5);
Tailwind
colors: {
  custom: {
    50: '#b468a2',
    500: '#901e7c',
    950: '#000000',
  },
}
SCSS
$custom: #901e7c;
$custom-light: #b468a2;
$custom-dark: #000000;
JSON
{
  "hex": "#901e7c",
  "rgb": {
    "r": 144,
    "g": 30,
    "b": 124
  },
  "hsl": {
    "h": 310.526,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46015,
    "c": 0.17823,
    "h": 336.5
  },
  "luminance": 0.08313
}

Semantic roles & 50–950 ramp

primary
#901E7C
secondary
#4DBD61
accent
#E85D3F
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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