#901C7B#901C7B

#901C7B is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.8% C 0.179 H 336.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#901C7B
RGBrgb(144, 28, 123)
HSLhsl(311, 67%, 34%)
HSVhsv(311, 81%, 56%)
CMYKcmyk(0%, 80.6%, 14.6%, 43.5%)
CIE-LABlab(34.38, 55.98, -25.88)
CIE-LCHlch(34.38, 61.67, 335.19°)
OKLaboklab(45.82% 0.165 -0.0705)
OKLCHoklch(45.82% 0.179 336.9)
XYZxyz(15.4923, 8.1913, 19.5002)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901C7B #1C9031
analogous
#6B1C90 #901C7B #901C41
triadic
#901C7B #7B901C #1C7B90
tetradic
#901C7B #906B1C #1C9031 #1C4190
square
#901C7B #906B1C #1C9031 #1C4190
split-complementary
#901C7B #41901C #1C906B
monochromatic
#2A0823 #5D124F #901C7B #C326A7 #DC4AC2

Accessibility & contrast

On white

7.96
#901C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#901C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901C7B
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901C7B#FFFFFF#000000##FFFFFF
##901C7B1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20467D
Deuteranopia (green-blind)
#495778
Tritanopia (blue-blind)
#98254B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #901c7b;
/* rgb */ color: rgb(144, 28, 123);
/* oklch */ color: oklch(45.8% 0.179 336.9);
Tailwind
colors: {
  custom: {
    50: '#b467a1',
    500: '#901c7b',
    950: '#000000',
  },
}
SCSS
$custom: #901c7b;
$custom-light: #b467a1;
$custom-dark: #000000;
JSON
{
  "hex": "#901c7b",
  "rgb": {
    "r": 144,
    "g": 28,
    "b": 123
  },
  "hsl": {
    "h": 310.862,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45818,
    "c": 0.17946,
    "h": 336.9
  },
  "luminance": 0.0819
}

Semantic roles & 50–950 ramp

primary
#901C7B
secondary
#4ABE5F
accent
#EA5D3D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #901C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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