#952A7D#952A7D

#952A7D is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.9% C 0.169 H 338.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#952A7D
RGBrgb(149, 42, 125)
HSLhsl(313, 56%, 37%)
HSVhsv(313, 72%, 58%)
CMYKcmyk(0%, 71.8%, 16.1%, 41.6%)
CIE-LABlab(36.98, 52.93, -22.99)
CIE-LCHlch(36.98, 57.71, 336.52°)
OKLaboklab(47.9% 0.1566 -0.0623)
OKLCHoklch(47.9% 0.169 338.3)
XYZxyz(16.9244, 9.5277, 20.3458)
Luminance0.0953 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952A7D #2A9542
analogous
#782A95 #952A7D #952A47
triadic
#952A7D #7D952A #2A7D95
tetradic
#952A7D #95782A #2A9542 #2A4795
square
#952A7D #95782A #2A9542 #2A4795
split-complementary
#952A7D #47952A #2A9578
monochromatic
#360F2D #651D55 #952A7D #C537A5 #D466BB

Accessibility & contrast

On white

7.23
#952A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#952A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952A7D
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952A7D#FFFFFF#000000##FFFFFF
##952A7D1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7F
Deuteranopia (green-blind)
#525D7A
Tritanopia (blue-blind)
#9D2F50
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #952a7d;
/* rgb */ color: rgb(149, 42, 125);
/* oklch */ color: oklch(47.9% 0.169 338.3);
Tailwind
colors: {
  custom: {
    50: '#b86da3',
    500: '#952a7d',
    950: '#000000',
  },
}
SCSS
$custom: #952a7d;
$custom-light: #b86da3;
$custom-dark: #000000;
JSON
{
  "hex": "#952a7d",
  "rgb": {
    "r": 149,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 313.458,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47898,
    "c": 0.16853,
    "h": 338.3
  },
  "luminance": 0.09526
}

Semantic roles & 50–950 ramp

primary
#952A7D
secondary
#61BA75
accent
#DF6A48
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #952A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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