#952D7E#952D7E

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

Color values

HEX#952D7E
RGBrgb(149, 45, 126)
HSLhsl(313, 54%, 38%)
HSVhsv(313, 70%, 58%)
CMYKcmyk(0%, 69.8%, 15.4%, 41.6%)
CIE-LABlab(37.43, 51.94, -22.91)
CIE-LCHlch(37.43, 56.77, 336.20°)
OKLaboklab(48.24% 0.1533 -0.0621)
OKLCHoklch(48.24% 0.165 338)
XYZxyz(17.0990, 9.7742, 20.7207)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952D7E #2D9544
analogous
#782D95 #952D7E #952D4A
triadic
#952D7E #7E952D #2D7E95
tetradic
#952D7E #95782D #2D9544 #2D4A95
square
#952D7E #95782D #2D9544 #2D4A95
split-complementary
#952D7E #4A952D #2D9578
monochromatic
#37112F #661F56 #952D7E #C43BA6 #D26ABB

Accessibility & contrast

On white

7.11
#952D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #952D7E
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952D7E#FFFFFF#000000##FFFFFF
##952D7E1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314E80
Deuteranopia (green-blind)
#525E7B
Tritanopia (blue-blind)
#9D3251
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #952d7e;
/* rgb */ color: rgb(149, 45, 126);
/* oklch */ color: oklch(48.2% 0.165 338.0);
Tailwind
colors: {
  custom: {
    50: '#b76fa3',
    500: '#952d7e',
    950: '#000000',
  },
}
SCSS
$custom: #952d7e;
$custom-light: #b76fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#952d7e",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 313.269,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48242,
    "c": 0.16542,
    "h": 338
  },
  "luminance": 0.09773
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #952D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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