#9E2879#9E2879

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

Color values

HEX#9E2879
RGBrgb(158, 40, 121)
HSLhsl(319, 60%, 39%)
HSVhsv(319, 75%, 62%)
CMYKcmyk(0%, 74.7%, 23.4%, 38%)
CIE-LABlab(38.14, 55.40, -18.57)
CIE-LCHlch(38.14, 58.43, 341.46°)
OKLaboklab(48.98% 0.167 -0.0497)
OKLCHoklch(48.98% 0.174 343.4)
XYZxyz(18.3112, 10.1691, 19.0839)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2879 #289E4D
analogous
#88289E #9E2879 #9E283E
triadic
#9E2879 #799E28 #28799E
tetradic
#9E2879 #9E8828 #289E4D #283E9E
square
#9E2879 #9E8828 #289E4D #283E9E
split-complementary
#9E2879 #3E9E28 #289E88
monochromatic
#3C0F2E #6D1C54 #9E2879 #CC379D #D968B5

Accessibility & contrast

On white

6.92
#9E2879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9E2879 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2879
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2879#FFFFFF#000000##FFFFFF
##9E28791.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354D7B
Deuteranopia (green-blind)
#596176
Tritanopia (blue-blind)
#A8284D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e2879;
/* rgb */ color: rgb(158, 40, 121);
/* oklch */ color: oklch(49.0% 0.174 343.4);
Tailwind
colors: {
  custom: {
    50: '#be6ea0',
    500: '#9e2879',
    950: '#000000',
  },
}
SCSS
$custom: #9e2879;
$custom-light: #be6ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2879",
  "rgb": {
    "r": 158,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 318.814,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48984,
    "c": 0.17424,
    "h": 343.4
  },
  "luminance": 0.10167
}

Semantic roles & 50–950 ramp

primary
#9E2879
secondary
#63BF80
accent
#E37645
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2879

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

Preview Lab → · Contrast checker → · Palette generator →

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