#9E2B87#9E2B87

#9E2B87 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.9% C 0.180 H 337.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9E2B87
RGBrgb(158, 43, 135)
HSLhsl(312, 57%, 39%)
HSVhsv(312, 73%, 62%)
CMYKcmyk(0%, 72.8%, 14.6%, 38%)
CIE-LABlab(39.15, 56.35, -25.68)
CIE-LCHlch(39.15, 61.92, 335.50°)
OKLaboklab(49.93% 0.166 -0.0698)
OKLCHoklch(49.93% 0.18 337.2)
XYZxyz(19.3380, 10.7479, 23.9731)
Luminance0.1075 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2B87 #2B9E42
analogous
#7C2B9E #9E2B87 #9E2B4E
triadic
#9E2B87 #879E2B #2B879E
tetradic
#9E2B87 #9E7C2B #2B9E42 #2B4E9E
square
#9E2B87 #9E7C2B #2B9E42 #2B4E9E
split-complementary
#9E2B87 #4E9E2B #2B9E7C
monochromatic
#3E1135 #6E1E5E #9E2B87 #CA3CAE #D76CC2

Accessibility & contrast

On white

6.67
#9E2B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9E2B87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2B87
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2B87#FFFFFF#000000##FFFFFF
##9E2B871.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E518A
Deuteranopia (green-blind)
#556384
Tritanopia (blue-blind)
#A73256
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e2b87;
/* rgb */ color: rgb(158, 43, 135);
/* oklch */ color: oklch(49.9% 0.180 337.2);
Tailwind
colors: {
  custom: {
    50: '#be6faa',
    500: '#9e2b87',
    950: '#000000',
  },
}
SCSS
$custom: #9e2b87;
$custom-light: #be6faa;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2b87",
  "rgb": {
    "r": 158,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 312,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49925,
    "c": 0.18009,
    "h": 337.2
  },
  "luminance": 0.10746
}

Semantic roles & 50–950 ramp

primary
#9E2B87
secondary
#67BE78
accent
#E06647
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E2B87

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

Preview Lab → · Contrast checker → · Palette generator →

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