#9E2C85#9E2C85

#9E2C85 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.177 H 338.1°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9E2C85
RGBrgb(158, 44, 133)
HSLhsl(313, 56%, 40%)
HSVhsv(313, 72%, 62%)
CMYKcmyk(0%, 72.2%, 15.8%, 38%)
CIE-LABlab(39.18, 55.70, -24.40)
CIE-LCHlch(39.18, 60.81, 336.34°)
OKLaboklab(49.92% 0.1647 -0.0661)
OKLCHoklch(49.92% 0.177 338.1)
XYZxyz(19.2353, 10.7657, 23.2507)
Luminance0.1076 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2C85 #2C9E45
analogous
#7E2C9E #9E2C85 #9E2C4C
triadic
#9E2C85 #859E2C #2C859E
tetradic
#9E2C85 #9E7E2C #2C9E45 #2C4C9E
square
#9E2C85 #9E7E2C #2C9E45 #2C4C9E
split-complementary
#9E2C85 #4C9E2C #2C9E7E
monochromatic
#3E1134 #6E1F5D #9E2C85 #C93EAB #D76EC0

Accessibility & contrast

On white

6.66
#9E2C85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9E2C85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2C85
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2C85#FFFFFF#000000##FFFFFF
##9E2C851.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315187
Deuteranopia (green-blind)
#566382
Tritanopia (blue-blind)
#A73155
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e2c85;
/* rgb */ color: rgb(158, 44, 133);
/* oklch */ color: oklch(49.9% 0.177 338.1);
Tailwind
colors: {
  custom: {
    50: '#be70a8',
    500: '#9e2c85',
    950: '#000000',
  },
}
SCSS
$custom: #9e2c85;
$custom-light: #be70a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2c85",
  "rgb": {
    "r": 158,
    "g": 44,
    "b": 133
  },
  "hsl": {
    "h": 313.158,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49916,
    "c": 0.17749,
    "h": 338.1
  },
  "luminance": 0.10764
}

Semantic roles & 50–950 ramp

primary
#9E2C85
secondary
#68BE7B
accent
#E06948
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9E2C85

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

Preview Lab → · Contrast checker → · Palette generator →

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