#952A7C#952A7C

#952A7C is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.8% C 0.168 H 338.8°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#952A7C
RGBrgb(149, 42, 124)
HSLhsl(314, 56%, 37%)
HSVhsv(314, 72%, 58%)
CMYKcmyk(0%, 71.8%, 16.8%, 41.6%)
CIE-LABlab(36.93, 52.78, -22.44)
CIE-LCHlch(36.93, 57.35, 336.96°)
OKLaboklab(47.85% 0.1564 -0.0607)
OKLCHoklch(47.85% 0.168 338.8)
XYZxyz(16.8609, 9.5023, 20.0110)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952A7C #2A9543
analogous
#792A95 #952A7C #952A46
triadic
#952A7C #7C952A #2A7C95
tetradic
#952A7C #95792A #2A9543 #2A4695
square
#952A7C #95792A #2A9543 #2A4695
split-complementary
#952A7C #46952A #2A9579
monochromatic
#360F2D #651D54 #952A7C #C537A4 #D466BA

Accessibility & contrast

On white

7.24
#952A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#952A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952A7C
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952A7C#FFFFFF#000000##FFFFFF
##952A7C1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7E
Deuteranopia (green-blind)
#525D79
Tritanopia (blue-blind)
#9D2E4F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #952a7c;
/* rgb */ color: rgb(149, 42, 124);
/* oklch */ color: oklch(47.8% 0.168 338.8);
Tailwind
colors: {
  custom: {
    50: '#b86da2',
    500: '#952a7c',
    950: '#000000',
  },
}
SCSS
$custom: #952a7c;
$custom-light: #b86da2;
$custom-dark: #000000;
JSON
{
  "hex": "#952a7c",
  "rgb": {
    "r": 149,
    "g": 42,
    "b": 124
  },
  "hsl": {
    "h": 314.019,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47848,
    "c": 0.16782,
    "h": 338.8
  },
  "luminance": 0.09501
}

Semantic roles & 50–950 ramp

primary
#952A7C
secondary
#61BA76
accent
#DF6C48
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #952A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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