#9E2E89#9E2E89

#9E2E89 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.178 H 336.4°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#9E2E89
RGBrgb(158, 46, 137)
HSLhsl(311, 55%, 40%)
HSVhsv(311, 71%, 62%)
CMYKcmyk(0%, 70.9%, 13.3%, 38%)
CIE-LABlab(39.63, 55.57, -26.16)
CIE-LCHlch(39.63, 61.42, 334.79°)
OKLaboklab(50.3% 0.163 -0.0712)
OKLCHoklch(50.3% 0.178 336.4)
XYZxyz(19.5932, 11.0310, 24.7593)
Luminance0.1103 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2E89 #2E9E43
analogous
#7B2E9E #9E2E89 #9E2E51
triadic
#9E2E89 #899E2E #2E899E
tetradic
#9E2E89 #9E7B2E #2E9E43 #2E519E
square
#9E2E89 #9E7B2E #2E9E43 #2E519E
split-complementary
#9E2E89 #519E2E #2E9E7B
monochromatic
#3F1237 #6F2060 #9E2E89 #C841AF #D671C3

Accessibility & contrast

On white

6.55
#9E2E89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9E2E89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2E89
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2E89#FFFFFF#000000##FFFFFF
##9E2E891.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30538C
Deuteranopia (green-blind)
#566386
Tritanopia (blue-blind)
#A63558
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e2e89;
/* rgb */ color: rgb(158, 46, 137);
/* oklch */ color: oklch(50.3% 0.178 336.4);
Tailwind
colors: {
  custom: {
    50: '#be71ab',
    500: '#9e2e89',
    950: '#000000',
  },
}
SCSS
$custom: #9e2e89;
$custom-light: #be71ab;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2e89",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 311.25,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.50304,
    "c": 0.1779,
    "h": 336.4
  },
  "luminance": 0.11029
}

Semantic roles & 50–950 ramp

primary
#9E2E89
secondary
#6BBD7A
accent
#DE654A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9E2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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