#9E2873#9E2873

#9E2873 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.7% C 0.171 H 346.3°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#9E2873
RGBrgb(158, 40, 115)
HSLhsl(322, 60%, 39%)
HSVhsv(322, 75%, 62%)
CMYKcmyk(0%, 74.7%, 27.2%, 38%)
CIE-LABlab(37.89, 54.61, -15.21)
CIE-LCHlch(37.89, 56.69, 344.43°)
OKLaboklab(48.72% 0.1658 -0.0403)
OKLCHoklch(48.72% 0.171 346.3)
XYZxyz(17.9547, 10.0265, 17.2061)
Luminance0.1002 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2873 #289E53
analogous
#8E289E #9E2873 #9E2838
triadic
#9E2873 #739E28 #28739E
tetradic
#9E2873 #9E8E28 #289E53 #28389E
square
#9E2873 #9E8E28 #289E53 #28389E
split-complementary
#9E2873 #389E28 #289E8E
monochromatic
#3C0F2C #6D1C4F #9E2873 #CC3796 #D968B0

Accessibility & contrast

On white

6.99
#9E2873 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#9E2873 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2873
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2873#FFFFFF#000000##FFFFFF
##9E28731.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384C75
Deuteranopia (green-blind)
#5B6070
Tritanopia (blue-blind)
#A9254A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e2873;
/* rgb */ color: rgb(158, 40, 115);
/* oklch */ color: oklch(48.7% 0.171 346.3);
Tailwind
colors: {
  custom: {
    50: '#bf6d9b',
    500: '#9e2873',
    950: '#000000',
  },
}
SCSS
$custom: #9e2873;
$custom-light: #bf6d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2873",
  "rgb": {
    "r": 158,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 321.864,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48716,
    "c": 0.17062,
    "h": 346.3
  },
  "luminance": 0.10024
}

Semantic roles & 50–950 ramp

primary
#9E2873
secondary
#63BF84
accent
#E37F45
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9E2873

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

Preview Lab → · Contrast checker → · Palette generator →

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