#952A7B#952A7B

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

Color values

HEX#952A7B
RGBrgb(149, 42, 123)
HSLhsl(315, 56%, 37%)
HSVhsv(315, 72%, 58%)
CMYKcmyk(0%, 71.8%, 17.4%, 41.6%)
CIE-LABlab(36.89, 52.63, -21.89)
CIE-LCHlch(36.89, 57.00, 337.41°)
OKLaboklab(47.8% 0.1563 -0.0592)
OKLCHoklch(47.8% 0.167 339.3)
XYZxyz(16.7979, 9.4771, 19.6796)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952A7B #2A9544
analogous
#792A95 #952A7B #952A46
triadic
#952A7B #7B952A #2A7B95
tetradic
#952A7B #95792A #2A9544 #2A4695
square
#952A7B #95792A #2A9544 #2A4695
split-complementary
#952A7B #46952A #2A9579
monochromatic
#360F2C #651D54 #952A7B #C537A2 #D466B9

Accessibility & contrast

On white

7.25
#952A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #952A7B
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952A7B#FFFFFF#000000##FFFFFF
##952A7B1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7D
Deuteranopia (green-blind)
#525D78
Tritanopia (blue-blind)
#9E2E4F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #952a7b;
/* rgb */ color: rgb(149, 42, 123);
/* oklch */ color: oklch(47.8% 0.167 339.3);
Tailwind
colors: {
  custom: {
    50: '#b86da1',
    500: '#952a7b',
    950: '#000000',
  },
}
SCSS
$custom: #952a7b;
$custom-light: #b86da1;
$custom-dark: #000000;
JSON
{
  "hex": "#952a7b",
  "rgb": {
    "r": 149,
    "g": 42,
    "b": 123
  },
  "hsl": {
    "h": 314.579,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47799,
    "c": 0.16712,
    "h": 339.3
  },
  "luminance": 0.09476
}

Semantic roles & 50–950 ramp

primary
#952A7B
secondary
#61BA77
accent
#DF6D48
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12080F
muted
#817B7E

Preview Lab

Preview with #952A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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