#901F7C#901F7C

#901F7C is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.1% C 0.177 H 336.5°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#901F7C
RGBrgb(144, 31, 124)
HSLhsl(311, 65%, 34%)
HSVhsv(311, 78%, 56%)
CMYKcmyk(0%, 78.5%, 13.9%, 43.5%)
CIE-LABlab(34.73, 55.25, -25.94)
CIE-LCHlch(34.73, 61.04, 334.85°)
OKLaboklab(46.09% 0.1625 -0.0707)
OKLCHoklch(46.09% 0.177 336.5)
XYZxyz(15.6300, 8.3660, 19.8565)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901F7C #1F9033
analogous
#6B1F90 #901F7C #901F44
triadic
#901F7C #7C901F #1F7C90
tetradic
#901F7C #906B1F #1F9033 #1F4490
square
#901F7C #906B1F #1F9033 #1F4490
split-complementary
#901F7C #44901F #1F906B
monochromatic
#2B0925 #5E1451 #901F7C #C22AA7 #D950C1

Accessibility & contrast

On white

7.86
#901F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#901F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901F7C
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901F7C#FFFFFF#000000##FFFFFF
##901F7C1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22477E
Deuteranopia (green-blind)
#4A5879
Tritanopia (blue-blind)
#98274C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #901f7c;
/* rgb */ color: rgb(144, 31, 124);
/* oklch */ color: oklch(46.1% 0.177 336.5);
Tailwind
colors: {
  custom: {
    50: '#b468a2',
    500: '#901f7c',
    950: '#000000',
  },
}
SCSS
$custom: #901f7c;
$custom-light: #b468a2;
$custom-dark: #000000;
JSON
{
  "hex": "#901f7c",
  "rgb": {
    "r": 144,
    "g": 31,
    "b": 124
  },
  "hsl": {
    "h": 310.619,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4609,
    "c": 0.17723,
    "h": 336.5
  },
  "luminance": 0.08365
}

Semantic roles & 50–950 ramp

primary
#901F7C
secondary
#4EBC62
accent
#E85E40
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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