#952D7C#952D7C

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

Color values

HEX#952D7C
RGBrgb(149, 45, 124)
HSLhsl(314, 54%, 38%)
HSVhsv(314, 70%, 58%)
CMYKcmyk(0%, 69.8%, 16.8%, 41.6%)
CIE-LABlab(37.34, 51.64, -21.81)
CIE-LCHlch(37.34, 56.06, 337.10°)
OKLaboklab(48.14% 0.153 -0.059)
OKLCHoklch(48.14% 0.164 338.9)
XYZxyz(16.9713, 9.7231, 20.0478)
Luminance0.0972 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952D7C #2D9546
analogous
#7A2D95 #952D7C #952D48
triadic
#952D7C #7C952D #2D7C95
tetradic
#952D7C #957A2D #2D9546 #2D4895
square
#952D7C #957A2D #2D9546 #2D4895
split-complementary
#952D7C #48952D #2D957A
monochromatic
#37112E #661F55 #952D7C #C43BA3 #D26AB9

Accessibility & contrast

On white

7.13
#952D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #952D7C
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952D7C#FFFFFF#000000##FFFFFF
##952D7C1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7E
Deuteranopia (green-blind)
#535E79
Tritanopia (blue-blind)
#9D3150
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #952d7c;
/* rgb */ color: rgb(149, 45, 124);
/* oklch */ color: oklch(48.1% 0.164 338.9);
Tailwind
colors: {
  custom: {
    50: '#b76fa2',
    500: '#952d7c',
    950: '#000000',
  },
}
SCSS
$custom: #952d7c;
$custom-light: #b76fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#952d7c",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 124
  },
  "hsl": {
    "h": 314.423,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48144,
    "c": 0.16398,
    "h": 338.9
  },
  "luminance": 0.09722
}

Semantic roles & 50–950 ramp

primary
#952D7C
secondary
#65B979
accent
#DD6E4B
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #952D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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