#95317C#95317C

#95317C is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.6% C 0.159 H 339.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#95317C
RGBrgb(149, 49, 124)
HSLhsl(315, 51%, 39%)
HSVhsv(315, 67%, 58%)
CMYKcmyk(0%, 67.1%, 16.8%, 41.6%)
CIE-LABlab(37.92, 50.02, -20.92)
CIE-LCHlch(37.92, 54.22, 337.31°)
OKLaboklab(48.57% 0.1482 -0.0565)
OKLCHoklch(48.57% 0.159 339.1)
XYZxyz(17.1312, 10.0430, 20.1011)
Luminance0.1004 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95317C #31954A
analogous
#7C3195 #95317C #95314A
triadic
#95317C #7C9531 #317C95
tetradic
#95317C #957C31 #31954A #314A95
square
#95317C #957C31 #31954A #314A95
split-complementary
#95317C #4A9531 #31957C
monochromatic
#39132F #672256 #95317C #C142A1 #D070B8

Accessibility & contrast

On white

6.98
#95317C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#95317C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #95317C
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95317C#FFFFFF#000000##FFFFFF
##95317C1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364F7E
Deuteranopia (green-blind)
#555F7A
Tritanopia (blue-blind)
#9D3452
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #95317c;
/* rgb */ color: rgb(149, 49, 124);
/* oklch */ color: oklch(48.6% 0.159 339.1);
Tailwind
colors: {
  custom: {
    50: '#b771a2',
    500: '#95317c',
    950: '#000000',
  },
}
SCSS
$custom: #95317c;
$custom-light: #b771a2;
$custom-dark: #000000;
JSON
{
  "hex": "#95317c",
  "rgb": {
    "r": 149,
    "g": 49,
    "b": 124
  },
  "hsl": {
    "h": 315,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48565,
    "c": 0.15857,
    "h": 339.1
  },
  "luminance": 0.10041
}

Semantic roles & 50–950 ramp

primary
#95317C
secondary
#6AB87D
accent
#DA714E
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #95317C

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

Preview Lab → · Contrast checker → · Palette generator →

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