#9E217A#9E217A

#9E217A is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.5% C 0.182 H 342.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#9E217A
RGBrgb(158, 33, 122)
HSLhsl(317, 65%, 37%)
HSVhsv(317, 79%, 62%)
CMYKcmyk(0%, 79.1%, 22.8%, 38%)
CIE-LABlab(37.42, 57.73, -20.32)
CIE-LCHlch(37.42, 61.20, 340.61°)
OKLaboklab(48.47% 0.174 -0.0545)
OKLCHoklch(48.47% 0.182 342.6)
XYZxyz(18.1579, 9.7639, 19.3369)
Luminance0.0976 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E217A #219E45
analogous
#84219E #9E217A #9E213C
triadic
#9E217A #7A9E21 #217A9E
tetradic
#9E217A #9E8421 #219E45 #213C9E
square
#9E217A #9E8421 #219E45 #213C9E
split-complementary
#9E217A #3C9E21 #219E84
monochromatic
#390C2C #6B1653 #9E217A #D12CA1 #DD5CB8

Accessibility & contrast

On white

7.11
#9E217A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9E217A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E217A
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E217A#FFFFFF#000000##FFFFFF
##9E217A1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4B7C
Deuteranopia (green-blind)
#575F77
Tritanopia (blue-blind)
#A8224B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e217a;
/* rgb */ color: rgb(158, 33, 122);
/* oklch */ color: oklch(48.5% 0.182 342.6);
Tailwind
colors: {
  custom: {
    50: '#bf6ba0',
    500: '#9e217a',
    950: '#000000',
  },
}
SCSS
$custom: #9e217a;
$custom-light: #bf6ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e217a",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 317.28,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4847,
    "c": 0.1823,
    "h": 342.6
  },
  "luminance": 0.09762
}

Semantic roles & 50–950 ramp

primary
#9E217A
secondary
#59C177
accent
#E8703F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9E217A

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

Preview Lab → · Contrast checker → · Palette generator →

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