#95217F#95217F

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

Color values

HEX#95217F
RGBrgb(149, 33, 127)
HSLhsl(311, 64%, 36%)
HSVhsv(311, 78%, 58%)
CMYKcmyk(0%, 77.9%, 14.8%, 41.6%)
CIE-LABlab(36.01, 56.27, -25.76)
CIE-LCHlch(36.01, 61.89, 335.40°)
OKLaboklab(47.23% 0.166 -0.0701)
OKLCHoklch(47.23% 0.18 337.1)
XYZxyz(16.7694, 9.0112, 20.9307)
Luminance0.0901 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95217F #219537
analogous
#712195 #95217F #952145
triadic
#95217F #7F9521 #217F95
tetradic
#95217F #957121 #219537 #214595
square
#95217F #957121 #219537 #214595
split-complementary
#95217F #459521 #219571
monochromatic
#310B2A #631654 #95217F #C72CAA #DA57C1

Accessibility & contrast

On white

7.49
#95217F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #95217F
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95217F#FFFFFF#000000##FFFFFF
##95217F1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254981
Deuteranopia (green-blind)
#4D5B7C
Tritanopia (blue-blind)
#9D294E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #95217f;
/* rgb */ color: rgb(149, 33, 127);
/* oklch */ color: oklch(47.2% 0.180 337.1);
Tailwind
colors: {
  custom: {
    50: '#b86aa4',
    500: '#95217f',
    950: '#000000',
  },
}
SCSS
$custom: #95217f;
$custom-light: #b86aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#95217f",
  "rgb": {
    "r": 149,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 311.379,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47225,
    "c": 0.18017,
    "h": 337.1
  },
  "luminance": 0.0901
}

Semantic roles & 50–950 ramp

primary
#95217F
secondary
#54BE68
accent
#E76041
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #95217F

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

Preview Lab → · Contrast checker → · Palette generator →

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