#9E2A79#9E2A79

#9E2A79 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.172 H 343.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9E2A79
RGBrgb(158, 42, 121)
HSLhsl(319, 58%, 39%)
HSVhsv(319, 73%, 62%)
CMYKcmyk(0%, 73.4%, 23.4%, 38%)
CIE-LABlab(38.39, 54.71, -18.20)
CIE-LCHlch(38.39, 57.65, 341.60°)
OKLaboklab(49.16% 0.1649 -0.0486)
OKLCHoklch(49.16% 0.172 343.6)
XYZxyz(18.3804, 10.3074, 19.1070)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2A79 #2A9E4F
analogous
#892A9E #9E2A79 #9E2A3F
triadic
#9E2A79 #799E2A #2A799E
tetradic
#9E2A79 #9E892A #2A9E4F #2A3F9E
square
#9E2A79 #9E892A #2A9E4F #2A3F9E
split-complementary
#9E2A79 #3F9E2A #2A9E89
monochromatic
#3D102F #6E1D54 #9E2A79 #CB3A9D #D86BB5

Accessibility & contrast

On white

6.86
#9E2A79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9E2A79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2A79
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2A79#FFFFFF#000000##FFFFFF
##9E2A791.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364E7B
Deuteranopia (green-blind)
#5A6176
Tritanopia (blue-blind)
#A82A4E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e2a79;
/* rgb */ color: rgb(158, 42, 121);
/* oklch */ color: oklch(49.2% 0.172 343.6);
Tailwind
colors: {
  custom: {
    50: '#be6fa0',
    500: '#9e2a79',
    950: '#000000',
  },
}
SCSS
$custom: #9e2a79;
$custom-light: #be6fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2a79",
  "rgb": {
    "r": 158,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 319.138,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49162,
    "c": 0.17191,
    "h": 343.6
  },
  "luminance": 0.10306
}

Semantic roles & 50–950 ramp

primary
#9E2A79
secondary
#66BE82
accent
#E17847
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2A79

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

Preview Lab → · Contrast checker → · Palette generator →

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