#9E417D#9E417D

#9E417D is a mid, vivid pink. Relative luminance 0.125; OKLCH L 51.9% C 0.142 H 343.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9E417D
RGBrgb(158, 65, 125)
HSLhsl(321, 42%, 44%)
HSVhsv(321, 59%, 62%)
CMYKcmyk(0%, 58.9%, 20.9%, 38%)
CIE-LABlab(42.05, 45.65, -15.06)
CIE-LCHlch(42.05, 48.07, 341.74°)
OKLaboklab(51.9% 0.1365 -0.0401)
OKLCHoklch(51.9% 0.142 343.6)
XYZxyz(19.6930, 12.5321, 20.7798)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E417D #419E62
analogous
#90419E #9E417D #9E414E
triadic
#9E417D #7D9E41 #417D9E
tetradic
#9E417D #9E9041 #419E62 #414E9E
square
#9E417D #9E9041 #419E62 #414E9E
split-complementary
#9E417D #4E9E41 #419E90
monochromatic
#471D38 #732F5B #9E417D #BD5F9C #CF8AB7

Accessibility & contrast

On white

5.99
#9E417D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9E417D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E417D
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E417D#FFFFFF#000000##FFFFFF
##9E417D1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48597F
Deuteranopia (green-blind)
#63697B
Tritanopia (blue-blind)
#A74159
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9e417d;
/* rgb */ color: rgb(158, 65, 125);
/* oklch */ color: oklch(51.9% 0.142 343.6);
Tailwind
colors: {
  custom: {
    50: '#bd7aa2',
    500: '#9e417d',
    950: '#000000',
  },
}
SCSS
$custom: #9e417d;
$custom-light: #bd7aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e417d",
  "rgb": {
    "r": 158,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 321.29,
    "s": 41.704,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51902,
    "c": 0.14223,
    "h": 343.6
  },
  "luminance": 0.1253
}

Semantic roles & 50–950 ramp

primary
#9E417D
secondary
#81BA95
accent
#D28256
background
#FBF7FA
surface
#F7EEF3
border
#D0C9CD
text
#120A0F
muted
#817C7F

Preview Lab

Preview with #9E417D

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

Preview Lab → · Contrast checker → · Palette generator →

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