#952D7F#952D7F

#952D7F is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.166 H 337.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#952D7F
RGBrgb(149, 45, 127)
HSLhsl(313, 54%, 38%)
HSVhsv(313, 70%, 58%)
CMYKcmyk(0%, 69.8%, 14.8%, 41.6%)
CIE-LABlab(37.48, 52.09, -23.46)
CIE-LCHlch(37.48, 57.13, 335.76°)
OKLaboklab(48.29% 0.1535 -0.0636)
OKLCHoklch(48.29% 0.166 337.5)
XYZxyz(17.1639, 9.8002, 21.0622)
Luminance0.0980 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952D7F #2D9543
analogous
#772D95 #952D7F #952D4B
triadic
#952D7F #7F952D #2D7F95
tetradic
#952D7F #95772D #2D9543 #2D4B95
square
#952D7F #95772D #2D9543 #2D4B95
split-complementary
#952D7F #4B952D #2D9577
monochromatic
#37112F #661F57 #952D7F #C43BA7 #D26ABC

Accessibility & contrast

On white

7.10
#952D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#952D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952D7F
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952D7F#FFFFFF#000000##FFFFFF
##952D7F1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304E81
Deuteranopia (green-blind)
#525E7C
Tritanopia (blue-blind)
#9D3252
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #952d7f;
/* rgb */ color: rgb(149, 45, 127);
/* oklch */ color: oklch(48.3% 0.166 337.5);
Tailwind
colors: {
  custom: {
    50: '#b76fa4',
    500: '#952d7f',
    950: '#000000',
  },
}
SCSS
$custom: #952d7f;
$custom-light: #b76fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#952d7f",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 127
  },
  "hsl": {
    "h": 312.692,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48292,
    "c": 0.16615,
    "h": 337.5
  },
  "luminance": 0.09799
}

Semantic roles & 50–950 ramp

primary
#952D7F
secondary
#65B977
accent
#DD6A4B
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #952D7F

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

Preview Lab → · Contrast checker → · Palette generator →

#952D7F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva