#9E2B8A#9E2B8A

#9E2B8A is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.1% C 0.182 H 335.9°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9E2B8A
RGBrgb(158, 43, 138)
HSLhsl(310, 57%, 39%)
HSVhsv(310, 73%, 62%)
CMYKcmyk(0%, 72.8%, 12.7%, 38%)
CIE-LABlab(39.30, 56.80, -27.29)
CIE-LCHlch(39.30, 63.02, 334.34°)
OKLaboklab(50.08% 0.1664 -0.0744)
OKLCHoklch(50.08% 0.182 335.9)
XYZxyz(19.5522, 10.8336, 25.1012)
Luminance0.1083 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2B8A #2B9E3F
analogous
#792B9E #9E2B8A #9E2B51
triadic
#9E2B8A #8A9E2B #2B8A9E
tetradic
#9E2B8A #9E792B #2B9E3F #2B519E
square
#9E2B8A #9E792B #2B9E3F #2B519E
split-complementary
#9E2B8A #519E2B #2B9E79
monochromatic
#3E1136 #6E1E60 #9E2B8A #CA3CB1 #D76CC5

Accessibility & contrast

On white

6.63
#9E2B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9E2B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2B8A
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2B8A#FFFFFF#000000##FFFFFF
##9E2B8A1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e2b8a;
/* rgb */ color: rgb(158, 43, 138);
/* oklch */ color: oklch(50.1% 0.182 335.9);
Tailwind
colors: {
  custom: {
    50: '#be70ac',
    500: '#9e2b8a',
    950: '#000000',
  },
}
SCSS
$custom: #9e2b8a;
$custom-light: #be70ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2b8a",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 310.435,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50078,
    "c": 0.18223,
    "h": 335.9
  },
  "luminance": 0.10832
}

Semantic roles & 50–950 ramp

primary
#9E2B8A
secondary
#67BE76
accent
#E06247
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E2B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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