#9E2C80#9E2C80

#9E2C80 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.7% C 0.174 H 340.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9E2C80
RGBrgb(158, 44, 128)
HSLhsl(316, 56%, 40%)
HSVhsv(316, 72%, 62%)
CMYKcmyk(0%, 72.2%, 19%, 38%)
CIE-LABlab(38.95, 54.97, -21.67)
CIE-LCHlch(38.95, 59.09, 338.48°)
OKLaboklab(49.67% 0.164 -0.0584)
OKLCHoklch(49.67% 0.174 340.4)
XYZxyz(18.8980, 10.6308, 21.4746)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2C80 #2C9E4A
analogous
#832C9E #9E2C80 #9E2C47
triadic
#9E2C80 #809E2C #2C809E
tetradic
#9E2C80 #9E832C #2C9E4A #2C479E
square
#9E2C80 #9E832C #2C9E4A #2C479E
split-complementary
#9E2C80 #479E2C #2C9E83
monochromatic
#3E1132 #6E1F59 #9E2C80 #C93EA5 #D76EBB

Accessibility & contrast

On white

6.72
#9E2C80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9E2C80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2C80
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2C80#FFFFFF#000000##FFFFFF
##9E2C801.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345082
Deuteranopia (green-blind)
#58627D
Tritanopia (blue-blind)
#A72F52
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e2c80;
/* rgb */ color: rgb(158, 44, 128);
/* oklch */ color: oklch(49.7% 0.174 340.4);
Tailwind
colors: {
  custom: {
    50: '#be70a5',
    500: '#9e2c80',
    950: '#000000',
  },
}
SCSS
$custom: #9e2c80;
$custom-light: #be70a5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2c80",
  "rgb": {
    "r": 158,
    "g": 44,
    "b": 128
  },
  "hsl": {
    "h": 315.789,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49672,
    "c": 0.17406,
    "h": 340.4
  },
  "luminance": 0.10629
}

Semantic roles & 50–950 ramp

primary
#9E2C80
secondary
#68BE7F
accent
#E07048
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9E2C80

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

Preview Lab → · Contrast checker → · Palette generator →

#9E2C80 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva