#952D7D#952D7D

#952D7D is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.165 H 338.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#952D7D
RGBrgb(149, 45, 125)
HSLhsl(314, 54%, 38%)
HSVhsv(314, 70%, 58%)
CMYKcmyk(0%, 69.8%, 16.1%, 41.6%)
CIE-LABlab(37.39, 51.79, -22.36)
CIE-LCHlch(37.39, 56.41, 336.64°)
OKLaboklab(48.19% 0.1532 -0.0605)
OKLCHoklch(48.19% 0.165 338.4)
XYZxyz(17.0348, 9.7486, 20.3826)
Luminance0.0975 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952D7D #2D9545
analogous
#792D95 #952D7D #952D49
triadic
#952D7D #7D952D #2D7D95
tetradic
#952D7D #95792D #2D9545 #2D4995
square
#952D7D #95792D #2D9545 #2D4995
split-complementary
#952D7D #49952D #2D9579
monochromatic
#37112E #661F56 #952D7D #C43BA4 #D26ABA

Accessibility & contrast

On white

7.12
#952D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#952D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952D7D
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952D7D#FFFFFF#000000##FFFFFF
##952D7D1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324E7F
Deuteranopia (green-blind)
#535E7A
Tritanopia (blue-blind)
#9D3151
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #952d7d;
/* rgb */ color: rgb(149, 45, 125);
/* oklch */ color: oklch(48.2% 0.165 338.4);
Tailwind
colors: {
  custom: {
    50: '#b76fa3',
    500: '#952d7d',
    950: '#000000',
  },
}
SCSS
$custom: #952d7d;
$custom-light: #b76fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#952d7d",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 125
  },
  "hsl": {
    "h": 313.846,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48193,
    "c": 0.1647,
    "h": 338.4
  },
  "luminance": 0.09747
}

Semantic roles & 50–950 ramp

primary
#952D7D
secondary
#65B978
accent
#DD6D4B
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #952D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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