#95217E#95217E

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

Color values

HEX#95217E
RGBrgb(149, 33, 126)
HSLhsl(312, 64%, 36%)
HSVhsv(312, 78%, 58%)
CMYKcmyk(0%, 77.9%, 15.4%, 41.6%)
CIE-LABlab(35.96, 56.12, -25.22)
CIE-LCHlch(35.96, 61.53, 335.81°)
OKLaboklab(47.17% 0.1659 -0.0686)
OKLCHoklch(47.17% 0.179 337.5)
XYZxyz(16.7045, 8.9852, 20.5892)
Luminance0.0898 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95217E #219538
analogous
#722195 #95217E #952144
triadic
#95217E #7E9521 #217E95
tetradic
#95217E #957221 #219538 #214495
square
#95217E #957221 #219538 #214495
split-complementary
#95217E #449521 #219572
monochromatic
#310B29 #631654 #95217E #C72CA8 #DA57C0

Accessibility & contrast

On white

7.51
#95217E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#95217E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #95217E
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95217E#FFFFFF#000000##FFFFFF
##95217E1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264980
Deuteranopia (green-blind)
#4E5B7B
Tritanopia (blue-blind)
#9D284E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #95217e;
/* rgb */ color: rgb(149, 33, 126);
/* oklch */ color: oklch(47.2% 0.179 337.5);
Tailwind
colors: {
  custom: {
    50: '#b86aa3',
    500: '#95217e',
    950: '#000000',
  },
}
SCSS
$custom: #95217e;
$custom-light: #b86aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#95217e",
  "rgb": {
    "r": 149,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 311.897,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47172,
    "c": 0.17947,
    "h": 337.5
  },
  "luminance": 0.08984
}

Semantic roles & 50–950 ramp

primary
#95217E
secondary
#54BE69
accent
#E76241
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #95217E

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

Preview Lab → · Contrast checker → · Palette generator →

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