#9E2E82#9E2E82

#9E2E82 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.173 H 339.6°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9E2E82
RGBrgb(158, 46, 130)
HSLhsl(315, 55%, 40%)
HSVhsv(315, 71%, 62%)
CMYKcmyk(0%, 70.9%, 17.7%, 38%)
CIE-LABlab(39.30, 54.52, -22.36)
CIE-LCHlch(39.30, 58.93, 337.70°)
OKLaboklab(49.96% 0.1621 -0.0604)
OKLCHoklch(49.96% 0.173 339.6)
XYZxyz(19.1073, 10.8366, 22.2001)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2E82 #2E9E4A
analogous
#822E9E #9E2E82 #9E2E4A
triadic
#9E2E82 #829E2E #2E829E
tetradic
#9E2E82 #9E822E #2E9E4A #2E4A9E
square
#9E2E82 #9E822E #2E9E4A #2E4A9E
split-complementary
#9E2E82 #4A9E2E #2E9E82
monochromatic
#3F1234 #6F205B #9E2E82 #C841A6 #D671BC

Accessibility & contrast

On white

6.63
#9E2E82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9E2E82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2E82
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2E82#FFFFFF#000000##FFFFFF
##9E2E821.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355184
Deuteranopia (green-blind)
#58637F
Tritanopia (blue-blind)
#A73254
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9e2e82;
/* rgb */ color: rgb(158, 46, 130);
/* oklch */ color: oklch(50.0% 0.173 339.6);
Tailwind
colors: {
  custom: {
    50: '#be71a6',
    500: '#9e2e82',
    950: '#000000',
  },
}
SCSS
$custom: #9e2e82;
$custom-light: #be71a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2e82",
  "rgb": {
    "r": 158,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 315,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.49958,
    "c": 0.17295,
    "h": 339.6
  },
  "luminance": 0.10835
}

Semantic roles & 50–950 ramp

primary
#9E2E82
secondary
#6BBD7F
accent
#DE6F4A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9E2E82

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

Preview Lab → · Contrast checker → · Palette generator →

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