#952D79#952D79

#952D79 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.0% C 0.162 H 340.4°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#952D79
RGBrgb(149, 45, 121)
HSLhsl(316, 54%, 38%)
HSVhsv(316, 70%, 58%)
CMYKcmyk(0%, 69.8%, 18.8%, 41.6%)
CIE-LABlab(37.20, 51.19, -20.16)
CIE-LCHlch(37.20, 55.02, 338.51°)
OKLaboklab(48% 0.1525 -0.0543)
OKLCHoklch(48% 0.162 340.4)
XYZxyz(16.7844, 9.6484, 19.0638)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952D79 #2D9549
analogous
#7D2D95 #952D79 #952D45
triadic
#952D79 #79952D #2D7995
tetradic
#952D79 #957D2D #2D9549 #2D4595
square
#952D79 #957D2D #2D9549 #2D4595
split-complementary
#952D79 #45952D #2D957D
monochromatic
#37112D #661F53 #952D79 #C43B9F #D26AB6

Accessibility & contrast

On white

7.17
#952D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#952D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952D79
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952D79#FFFFFF#000000##FFFFFF
##952D791.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344D7B
Deuteranopia (green-blind)
#545E77
Tritanopia (blue-blind)
#9E304F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #952d79;
/* rgb */ color: rgb(149, 45, 121);
/* oklch */ color: oklch(48.0% 0.162 340.4);
Tailwind
colors: {
  custom: {
    50: '#b76fa0',
    500: '#952d79',
    950: '#000000',
  },
}
SCSS
$custom: #952d79;
$custom-light: #b76fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#952d79",
  "rgb": {
    "r": 149,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 316.154,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47999,
    "c": 0.16188,
    "h": 340.4
  },
  "luminance": 0.09647
}

Semantic roles & 50–950 ramp

primary
#952D79
secondary
#65B97B
accent
#DD724B
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #952D79

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

Preview Lab → · Contrast checker → · Palette generator →

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