#952F7A#952F7A

#952F7A is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.3% C 0.160 H 340.0°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#952F7A
RGBrgb(149, 47, 122)
HSLhsl(316, 52%, 38%)
HSVhsv(316, 68%, 58%)
CMYKcmyk(0%, 68.5%, 18.1%, 41.6%)
CIE-LABlab(37.53, 50.54, -20.27)
CIE-LCHlch(37.53, 54.45, 338.15°)
OKLaboklab(48.26% 0.1503 -0.0546)
OKLCHoklch(48.26% 0.16 340)
XYZxyz(16.9242, 9.8293, 19.4145)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952F7A #2F954A
analogous
#7D2F95 #952F7A #952F47
triadic
#952F7A #7A952F #2F7A95
tetradic
#952F7A #957D2F #2F954A #2F4795
square
#952F7A #957D2F #2F954A #2F4795
split-complementary
#952F7A #47952F #2F957D
monochromatic
#38122E #662054 #952F7A #C23FA0 #D16DB7

Accessibility & contrast

On white

7.08
#952F7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#952F7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952F7A
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952F7A#FFFFFF#000000##FFFFFF
##952F7A1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354E7C
Deuteranopia (green-blind)
#555E78
Tritanopia (blue-blind)
#9E3250
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #952f7a;
/* rgb */ color: rgb(149, 47, 122);
/* oklch */ color: oklch(48.3% 0.160 340.0);
Tailwind
colors: {
  custom: {
    50: '#b770a0',
    500: '#952f7a',
    950: '#000000',
  },
}
SCSS
$custom: #952f7a;
$custom-light: #b770a0;
$custom-dark: #000000;
JSON
{
  "hex": "#952f7a",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 122
  },
  "hsl": {
    "h": 315.882,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48255,
    "c": 0.1599,
    "h": 340
  },
  "luminance": 0.09828
}

Semantic roles & 50–950 ramp

primary
#952F7A
secondary
#67B87D
accent
#DB724C
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #952F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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