#952D7B#952D7B

#952D7B is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.1% C 0.163 H 339.4°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#952D7B
RGBrgb(149, 45, 123)
HSLhsl(315, 54%, 38%)
HSVhsv(315, 70%, 58%)
CMYKcmyk(0%, 69.8%, 17.4%, 41.6%)
CIE-LABlab(37.29, 51.49, -21.26)
CIE-LCHlch(37.29, 55.70, 337.56°)
OKLaboklab(48.1% 0.1529 -0.0574)
OKLCHoklch(48.1% 0.163 339.4)
XYZxyz(16.9084, 9.6980, 19.7165)
Luminance0.0970 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952D7B #2D9547
analogous
#7B2D95 #952D7B #952D47
triadic
#952D7B #7B952D #2D7B95
tetradic
#952D7B #957B2D #2D9547 #2D4795
square
#952D7B #957B2D #2D9547 #2D4795
split-complementary
#952D7B #47952D #2D957B
monochromatic
#37112D #661F54 #952D7B #C43BA2 #D26AB8

Accessibility & contrast

On white

7.14
#952D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#952D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952D7B
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952D7B#FFFFFF#000000##FFFFFF
##952D7B1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334D7D
Deuteranopia (green-blind)
#545E78
Tritanopia (blue-blind)
#9E3050
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #952d7b;
/* rgb */ color: rgb(149, 45, 123);
/* oklch */ color: oklch(48.1% 0.163 339.4);
Tailwind
colors: {
  custom: {
    50: '#b76fa1',
    500: '#952d7b',
    950: '#000000',
  },
}
SCSS
$custom: #952d7b;
$custom-light: #b76fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#952d7b",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 315,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48095,
    "c": 0.16328,
    "h": 339.4
  },
  "luminance": 0.09696
}

Semantic roles & 50–950 ramp

primary
#952D7B
secondary
#65B97A
accent
#DD6F4B
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#12080F
muted
#817B7E

Preview Lab

Preview with #952D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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