#9E217E#9E217E

#9E217E is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.7% C 0.185 H 340.8°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9E217E
RGBrgb(158, 33, 126)
HSLhsl(315, 65%, 37%)
HSVhsv(315, 79%, 62%)
CMYKcmyk(0%, 79.1%, 20.3%, 38%)
CIE-LABlab(37.60, 58.27, -22.53)
CIE-LCHlch(37.60, 62.47, 338.86°)
OKLaboklab(48.66% 0.1745 -0.0608)
OKLCHoklch(48.66% 0.185 340.8)
XYZxyz(18.4109, 9.8651, 20.6692)
Luminance0.0986 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E217E #219E41
analogous
#80219E #9E217E #9E2140
triadic
#9E217E #7E9E21 #217E9E
tetradic
#9E217E #9E8021 #219E41 #21409E
square
#9E217E #9E8021 #219E41 #21409E
split-complementary
#9E217E #409E21 #219E80
monochromatic
#390C2D #6B1656 #9E217E #D12CA6 #DD5CBC

Accessibility & contrast

On white

7.06
#9E217E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E217E
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E217E#FFFFFF#000000##FFFFFF
##9E217E1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4C80
Deuteranopia (green-blind)
#55607B
Tritanopia (blue-blind)
#A8254E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e217e;
/* rgb */ color: rgb(158, 33, 126);
/* oklch */ color: oklch(48.7% 0.185 340.8);
Tailwind
colors: {
  custom: {
    50: '#bf6ba3',
    500: '#9e217e',
    950: '#000000',
  },
}
SCSS
$custom: #9e217e;
$custom-light: #bf6ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e217e",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 315.36,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48663,
    "c": 0.18482,
    "h": 340.8
  },
  "luminance": 0.09863
}

Semantic roles & 50–950 ramp

primary
#9E217E
secondary
#59C174
accent
#E86B3F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9E217E

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

Preview Lab → · Contrast checker → · Palette generator →

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