#9E2A76#9E2A76

#9E2A76 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.0% C 0.170 H 345.0°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9E2A76
RGBrgb(158, 42, 118)
HSLhsl(321, 58%, 39%)
HSVhsv(321, 73%, 62%)
CMYKcmyk(0%, 73.4%, 25.3%, 38%)
CIE-LABlab(38.26, 54.30, -16.52)
CIE-LCHlch(38.26, 56.76, 343.08°)
OKLaboklab(49.03% 0.1643 -0.044)
OKLCHoklch(49.03% 0.17 345)
XYZxyz(18.1993, 10.2350, 18.1531)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A76 #2A9E52
analogous
#8C2A9E #9E2A76 #9E2A3C
triadic
#9E2A76 #769E2A #2A769E
tetradic
#9E2A76 #9E8C2A #2A9E52 #2A3C9E
square
#9E2A76 #9E8C2A #2A9E52 #2A3C9E
split-complementary
#9E2A76 #3C9E2A #2A9E8C
monochromatic
#3D102E #6E1D52 #9E2A76 #CB3A99 #D86BB2

Accessibility & contrast

On white

6.89
#9E2A76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9E2A76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2A76
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A76#FFFFFF#000000##FFFFFF
##9E2A761.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384E78
Deuteranopia (green-blind)
#5B6173
Tritanopia (blue-blind)
#A9284C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e2a76;
/* rgb */ color: rgb(158, 42, 118);
/* oklch */ color: oklch(49.0% 0.170 345.0);
Tailwind
colors: {
  custom: {
    50: '#be6e9d',
    500: '#9e2a76',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a76;
$custom-light: #be6e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a76",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 118
  },
  "hsl": {
    "h": 320.69,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49027,
    "c": 0.17007,
    "h": 345
  },
  "luminance": 0.10233
}

Semantic roles & 50–950 ramp

primary
#9E2A76
secondary
#66BE84
accent
#E17C47
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2A76

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

Preview Lab → · Contrast checker → · Palette generator →

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