#952D71#952D71

#952D71 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.6% C 0.157 H 344.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#952D71
RGBrgb(149, 45, 113)
HSLhsl(321, 54%, 38%)
HSVhsv(321, 70%, 58%)
CMYKcmyk(0%, 69.8%, 24.2%, 41.6%)
CIE-LABlab(36.86, 50.05, -15.68)
CIE-LCHlch(36.86, 52.45, 342.60°)
OKLaboklab(47.63% 0.1509 -0.0417)
OKLCHoklch(47.63% 0.157 344.5)
XYZxyz(16.3140, 9.4602, 16.5864)
Luminance0.0946 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952D71 #2D9551
analogous
#852D95 #952D71 #952D3D
triadic
#952D71 #71952D #2D7195
tetradic
#952D71 #95852D #2D9551 #2D3D95
square
#952D71 #95852D #2D9551 #2D3D95
split-complementary
#952D71 #3D952D #2D9585
monochromatic
#37112A #661F4D #952D71 #C43B95 #D26AAE

Accessibility & contrast

On white

7.26
#952D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#952D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952D71
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952D71#FFFFFF#000000##FFFFFF
##952D711.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384C73
Deuteranopia (green-blind)
#575D6F
Tritanopia (blue-blind)
#9F2C4B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #952d71;
/* rgb */ color: rgb(149, 45, 113);
/* oklch */ color: oklch(47.6% 0.157 344.5);
Tailwind
colors: {
  custom: {
    50: '#b86e9a',
    500: '#952d71',
    950: '#000000',
  },
}
SCSS
$custom: #952d71;
$custom-light: #b86e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#952d71",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 113
  },
  "hsl": {
    "h": 320.769,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47631,
    "c": 0.15658,
    "h": 344.5
  },
  "luminance": 0.09459
}

Semantic roles & 50–950 ramp

primary
#952D71
secondary
#65B982
accent
#DD7D4B
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #952D71

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

Preview Lab → · Contrast checker → · Palette generator →

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