#9E217F#9E217F

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

Color values

HEX#9E217F
RGBrgb(158, 33, 127)
HSLhsl(315, 65%, 37%)
HSVhsv(315, 79%, 62%)
CMYKcmyk(0%, 79.1%, 19.6%, 38%)
CIE-LABlab(37.65, 58.41, -23.08)
CIE-LCHlch(37.65, 62.80, 338.44°)
OKLaboklab(48.71% 0.1747 -0.0623)
OKLCHoklch(48.71% 0.185 340.4)
XYZxyz(18.4757, 9.8910, 21.0107)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E217F #219E40
analogous
#7F219E #9E217F #9E2141
triadic
#9E217F #7F9E21 #217F9E
tetradic
#9E217F #9E7F21 #219E40 #21419E
square
#9E217F #9E7F21 #219E40 #21419E
split-complementary
#9E217F #419E21 #219E7F
monochromatic
#390C2E #6B1656 #9E217F #D12CA8 #DD5CBD

Accessibility & contrast

On white

7.05
#9E217F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9E217F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E217F
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E217F#FFFFFF#000000##FFFFFF
##9E217F1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4C81
Deuteranopia (green-blind)
#55607C
Tritanopia (blue-blind)
#A8254E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e217f;
/* rgb */ color: rgb(158, 33, 127);
/* oklch */ color: oklch(48.7% 0.185 340.4);
Tailwind
colors: {
  custom: {
    50: '#bf6ba4',
    500: '#9e217f',
    950: '#000000',
  },
}
SCSS
$custom: #9e217f;
$custom-light: #bf6ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#9e217f",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 314.88,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48712,
    "c": 0.18546,
    "h": 340.4
  },
  "luminance": 0.09889
}

Semantic roles & 50–950 ramp

primary
#9E217F
secondary
#59C173
accent
#E8693F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9E217F

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

Preview Lab → · Contrast checker → · Palette generator →

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