#95217D#95217D

#95217D is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.179 H 338.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#95217D
RGBrgb(149, 33, 125)
HSLhsl(312, 64%, 36%)
HSVhsv(312, 78%, 58%)
CMYKcmyk(0%, 77.9%, 16.1%, 41.6%)
CIE-LABlab(35.91, 55.98, -24.67)
CIE-LCHlch(35.91, 61.17, 336.22°)
OKLaboklab(47.12% 0.1658 -0.067)
OKLCHoklch(47.12% 0.179 338)
XYZxyz(16.6403, 8.9595, 20.2511)
Luminance0.0896 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95217D #219539
analogous
#732195 #95217D #952143
triadic
#95217D #7D9521 #217D95
tetradic
#95217D #957321 #219539 #214395
square
#95217D #957321 #219539 #214395
split-complementary
#95217D #439521 #219573
monochromatic
#310B29 #631653 #95217D #C72CA7 #DA57BF

Accessibility & contrast

On white

7.52
#95217D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#95217D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #95217D
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95217D#FFFFFF#000000##FFFFFF
##95217D1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26497F
Deuteranopia (green-blind)
#4E5B7A
Tritanopia (blue-blind)
#9D284D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #95217d;
/* rgb */ color: rgb(149, 33, 125);
/* oklch */ color: oklch(47.1% 0.179 338.0);
Tailwind
colors: {
  custom: {
    50: '#b86aa3',
    500: '#95217d',
    950: '#000000',
  },
}
SCSS
$custom: #95217d;
$custom-light: #b86aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#95217d",
  "rgb": {
    "r": 149,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 312.414,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47121,
    "c": 0.17879,
    "h": 338
  },
  "luminance": 0.08958
}

Semantic roles & 50–950 ramp

primary
#95217D
secondary
#54BE6A
accent
#E76341
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #95217D

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

Preview Lab → · Contrast checker → · Palette generator →

#95217D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva