#9E217D#9E217D

#9E217D is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.6% C 0.184 H 341.2°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#9E217D
RGBrgb(158, 33, 125)
HSLhsl(316, 65%, 37%)
HSVhsv(316, 79%, 62%)
CMYKcmyk(0%, 79.1%, 20.9%, 38%)
CIE-LABlab(37.55, 58.13, -21.98)
CIE-LCHlch(37.55, 62.15, 339.29°)
OKLaboklab(48.61% 0.1744 -0.0592)
OKLCHoklch(48.61% 0.184 341.2)
XYZxyz(18.3467, 9.8394, 20.3310)
Luminance0.0984 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E217D #219E42
analogous
#81219E #9E217D #9E213F
triadic
#9E217D #7D9E21 #217D9E
tetradic
#9E217D #9E8121 #219E42 #213F9E
square
#9E217D #9E8121 #219E42 #213F9E
split-complementary
#9E217D #3F9E21 #219E81
monochromatic
#390C2D #6B1655 #9E217D #D12CA5 #DD5CBB

Accessibility & contrast

On white

7.08
#9E217D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9E217D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E217D
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E217D#FFFFFF#000000##FFFFFF
##9E217D1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C7F
Deuteranopia (green-blind)
#55607A
Tritanopia (blue-blind)
#A8244D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e217d;
/* rgb */ color: rgb(158, 33, 125);
/* oklch */ color: oklch(48.6% 0.184 341.2);
Tailwind
colors: {
  custom: {
    50: '#bf6ba3',
    500: '#9e217d',
    950: '#000000',
  },
}
SCSS
$custom: #9e217d;
$custom-light: #bf6ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e217d",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 315.84,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48614,
    "c": 0.18418,
    "h": 341.2
  },
  "luminance": 0.09837
}

Semantic roles & 50–950 ramp

primary
#9E217D
secondary
#59C175
accent
#E86C3F
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9E217D

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

Preview Lab → · Contrast checker → · Palette generator →

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