#95217C#95217C

#95217C is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.1% C 0.178 H 338.4°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#95217C
RGBrgb(149, 33, 124)
HSLhsl(313, 64%, 36%)
HSVhsv(313, 78%, 58%)
CMYKcmyk(0%, 77.9%, 16.8%, 41.6%)
CIE-LABlab(35.86, 55.83, -24.12)
CIE-LCHlch(35.86, 60.82, 336.63°)
OKLaboklab(47.07% 0.1656 -0.0654)
OKLCHoklch(47.07% 0.178 338.4)
XYZxyz(16.5768, 8.9341, 19.9163)
Luminance0.0893 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95217C #21953A
analogous
#742195 #95217C #952142
triadic
#95217C #7C9521 #217C95
tetradic
#95217C #957421 #21953A #214295
square
#95217C #957421 #21953A #214295
split-complementary
#95217C #429521 #219574
monochromatic
#310B29 #631652 #95217C #C72CA6 #DA57BD

Accessibility & contrast

On white

7.54
#95217C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #95217C
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95217C#FFFFFF#000000##FFFFFF
##95217C1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27497E
Deuteranopia (green-blind)
#4F5B79
Tritanopia (blue-blind)
#9E274C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #95217c;
/* rgb */ color: rgb(149, 33, 124);
/* oklch */ color: oklch(47.1% 0.178 338.4);
Tailwind
colors: {
  custom: {
    50: '#b86aa2',
    500: '#95217c',
    950: '#000000',
  },
}
SCSS
$custom: #95217c;
$custom-light: #b86aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#95217c",
  "rgb": {
    "r": 149,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 312.931,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47069,
    "c": 0.1781,
    "h": 338.4
  },
  "luminance": 0.08933
}

Semantic roles & 50–950 ramp

primary
#95217C
secondary
#54BE6B
accent
#E76541
background
#FBF6FA
surface
#F7ECF3
border
#D0C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #95217C

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

Preview Lab → · Contrast checker → · Palette generator →

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