#901C7C#901C7C

#901C7C is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.9% C 0.180 H 336.4°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#901C7C
RGBrgb(144, 28, 124)
HSLhsl(310, 67%, 34%)
HSVhsv(310, 81%, 56%)
CMYKcmyk(0%, 80.6%, 13.9%, 43.5%)
CIE-LABlab(34.43, 56.13, -26.42)
CIE-LCHlch(34.43, 62.03, 334.79°)
OKLaboklab(45.87% 0.1651 -0.0721)
OKLCHoklch(45.87% 0.18 336.4)
XYZxyz(15.5552, 8.2165, 19.8316)
Luminance0.0822 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901C7C #1C9030
analogous
#6A1C90 #901C7C #901C42
triadic
#901C7C #7C901C #1C7C90
tetradic
#901C7C #906A1C #1C9030 #1C4290
square
#901C7C #906A1C #1C9030 #1C4290
split-complementary
#901C7C #42901C #1C906A
monochromatic
#2A0824 #5D1250 #901C7C #C326A8 #DC4AC3

Accessibility & contrast

On white

7.95
#901C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #901C7C
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901C7C#FFFFFF#000000##FFFFFF
##901C7C1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F467E
Deuteranopia (green-blind)
#495779
Tritanopia (blue-blind)
#98254B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #901c7c;
/* rgb */ color: rgb(144, 28, 124);
/* oklch */ color: oklch(45.9% 0.180 336.4);
Tailwind
colors: {
  custom: {
    50: '#b467a2',
    500: '#901c7c',
    950: '#000000',
  },
}
SCSS
$custom: #901c7c;
$custom-light: #b467a2;
$custom-dark: #000000;
JSON
{
  "hex": "#901c7c",
  "rgb": {
    "r": 144,
    "g": 28,
    "b": 124
  },
  "hsl": {
    "h": 310.345,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45872,
    "c": 0.18015,
    "h": 336.4
  },
  "luminance": 0.08215
}

Semantic roles & 50–950 ramp

primary
#901C7C
secondary
#4ABE5E
accent
#EA5B3D
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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