#9E2878#9E2878

#9E2878 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.9% C 0.174 H 343.9°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9E2878
RGBrgb(158, 40, 120)
HSLhsl(319, 60%, 39%)
HSVhsv(319, 75%, 62%)
CMYKcmyk(0%, 74.7%, 24.1%, 38%)
CIE-LABlab(38.10, 55.26, -18.02)
CIE-LCHlch(38.10, 58.13, 341.94°)
OKLaboklab(48.94% 0.1668 -0.0481)
OKLCHoklch(48.94% 0.174 343.9)
XYZxyz(18.2502, 10.1447, 18.7627)
Luminance0.1014 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2878 #289E4E
analogous
#89289E #9E2878 #9E283D
triadic
#9E2878 #789E28 #28789E
tetradic
#9E2878 #9E8928 #289E4E #283D9E
square
#9E2878 #9E8928 #289E4E #283D9E
split-complementary
#9E2878 #3D9E28 #289E89
monochromatic
#3C0F2E #6D1C53 #9E2878 #CC379C #D968B4

Accessibility & contrast

On white

6.93
#9E2878 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9E2878
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2878#FFFFFF#000000##FFFFFF
##9E28781.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354D7A
Deuteranopia (green-blind)
#596175
Tritanopia (blue-blind)
#A8274D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e2878;
/* rgb */ color: rgb(158, 40, 120);
/* oklch */ color: oklch(48.9% 0.174 343.9);
Tailwind
colors: {
  custom: {
    50: '#bf6e9f',
    500: '#9e2878',
    950: '#000000',
  },
}
SCSS
$custom: #9e2878;
$custom-light: #bf6e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2878",
  "rgb": {
    "r": 158,
    "g": 40,
    "b": 120
  },
  "hsl": {
    "h": 319.322,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48938,
    "c": 0.17362,
    "h": 343.9
  },
  "luminance": 0.10143
}

Semantic roles & 50–950 ramp

primary
#9E2878
secondary
#63BF81
accent
#E37845
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2878

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

Preview Lab → · Contrast checker → · Palette generator →

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