#95197F#95197F

#95197F is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.7% C 0.188 H 336.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#95197F
RGBrgb(149, 25, 127)
HSLhsl(311, 71%, 34%)
HSVhsv(311, 83%, 58%)
CMYKcmyk(0%, 83.2%, 14.8%, 41.6%)
CIE-LABlab(35.24, 58.48, -26.96)
CIE-LCHlch(35.24, 64.39, 335.25°)
OKLaboklab(46.67% 0.1726 -0.0735)
OKLCHoklch(46.67% 0.188 336.9)
XYZxyz(16.5732, 8.6187, 20.8653)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95197F #19952F
analogous
#6D1995 #95197F #951941
triadic
#95197F #7F9519 #197F95
tetradic
#95197F #956D19 #19952F #194195
square
#95197F #956D19 #19952F #194195
split-complementary
#95197F #419519 #19956D
monochromatic
#2C0726 #611052 #95197F #C922AC #E048C5

Accessibility & contrast

On white

7.71
#95197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#95197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #95197F
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95197F#FFFFFF#000000##FFFFFF
##95197F1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4782
Deuteranopia (green-blind)
#4B597C
Tritanopia (blue-blind)
#9D234C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #95197f;
/* rgb */ color: rgb(149, 25, 127);
/* oklch */ color: oklch(46.7% 0.188 336.9);
Tailwind
colors: {
  custom: {
    50: '#b867a4',
    500: '#95197f',
    950: '#000000',
  },
}
SCSS
$custom: #95197f;
$custom-light: #b867a4;
$custom-dark: #000000;
JSON
{
  "hex": "#95197f",
  "rgb": {
    "r": 149,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 310.645,
    "s": 71.264,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46674,
    "c": 0.18757,
    "h": 336.9
  },
  "luminance": 0.08617
}

Semantic roles & 50–950 ramp

primary
#95197F
secondary
#48C25E
accent
#EE5A3A
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #95197F

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

Preview Lab → · Contrast checker → · Palette generator →

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