#952A7A#952A7A

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

Color values

HEX#952A7A
RGBrgb(149, 42, 122)
HSLhsl(315, 56%, 37%)
HSVhsv(315, 72%, 58%)
CMYKcmyk(0%, 71.8%, 18.1%, 41.6%)
CIE-LABlab(36.84, 52.48, -21.34)
CIE-LCHlch(36.84, 56.66, 337.87°)
OKLaboklab(47.75% 0.1561 -0.0576)
OKLCHoklch(47.75% 0.166 339.7)
XYZxyz(16.7357, 9.4522, 19.3517)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952A7A #2A9545
analogous
#7A2A95 #952A7A #952A45
triadic
#952A7A #7A952A #2A7A95
tetradic
#952A7A #957A2A #2A9545 #2A4595
square
#952A7A #957A2A #2A9545 #2A4595
split-complementary
#952A7A #45952A #2A957A
monochromatic
#360F2C #651D53 #952A7A #C537A1 #D466B8

Accessibility & contrast

On white

7.27
#952A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#952A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952A7A
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952A7A#FFFFFF#000000##FFFFFF
##952A7A1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7C
Deuteranopia (green-blind)
#535D77
Tritanopia (blue-blind)
#9E2D4E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #952a7a;
/* rgb */ color: rgb(149, 42, 122);
/* oklch */ color: oklch(47.8% 0.166 339.7);
Tailwind
colors: {
  custom: {
    50: '#b86da0',
    500: '#952a7a',
    950: '#000000',
  },
}
SCSS
$custom: #952a7a;
$custom-light: #b86da0;
$custom-dark: #000000;
JSON
{
  "hex": "#952a7a",
  "rgb": {
    "r": 149,
    "g": 42,
    "b": 122
  },
  "hsl": {
    "h": 315.14,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4775,
    "c": 0.16643,
    "h": 339.7
  },
  "luminance": 0.09451
}

Semantic roles & 50–950 ramp

primary
#952A7A
secondary
#61BA77
accent
#DF6F48
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #952A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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