#9E2C8A#9E2C8A

#9E2C8A is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.181 H 335.9°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#9E2C8A
RGBrgb(158, 44, 138)
HSLhsl(311, 56%, 40%)
HSVhsv(311, 72%, 62%)
CMYKcmyk(0%, 72.2%, 12.7%, 38%)
CIE-LABlab(39.42, 56.45, -27.09)
CIE-LCHlch(39.42, 62.61, 334.36°)
OKLaboklab(50.17% 0.1653 -0.0738)
OKLCHoklch(50.17% 0.181 335.9)
XYZxyz(19.5890, 10.9072, 25.1134)
Luminance0.1090 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2C8A #2C9E40
analogous
#792C9E #9E2C8A #9E2C51
triadic
#9E2C8A #8A9E2C #2C8A9E
tetradic
#9E2C8A #9E792C #2C9E40 #2C519E
square
#9E2C8A #9E792C #2C9E40 #2C519E
split-complementary
#9E2C8A #519E2C #2C9E79
monochromatic
#3E1136 #6E1F60 #9E2C8A #C93EB1 #D76EC4

Accessibility & contrast

On white

6.60
#9E2C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9E2C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2C8A
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2C8A#FFFFFF#000000##FFFFFF
##9E2C8A1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528D
Deuteranopia (green-blind)
#546387
Tritanopia (blue-blind)
#A63457
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e2c8a;
/* rgb */ color: rgb(158, 44, 138);
/* oklch */ color: oklch(50.2% 0.181 335.9);
Tailwind
colors: {
  custom: {
    50: '#be70ac',
    500: '#9e2c8a',
    950: '#000000',
  },
}
SCSS
$custom: #9e2c8a;
$custom-light: #be70ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2c8a",
  "rgb": {
    "r": 158,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 310.526,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50168,
    "c": 0.18105,
    "h": 335.9
  },
  "luminance": 0.10905
}

Semantic roles & 50–950 ramp

primary
#9E2C8A
secondary
#68BE77
accent
#E06348
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E2C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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