#952F7F#952F7F

#952F7F is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.5% C 0.163 H 337.6°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#952F7F
RGBrgb(149, 47, 127)
HSLhsl(313, 52%, 38%)
HSVhsv(313, 68%, 58%)
CMYKcmyk(0%, 68.5%, 14.8%, 41.6%)
CIE-LABlab(37.76, 51.30, -23.02)
CIE-LCHlch(37.76, 56.23, 335.83°)
OKLaboklab(48.5% 0.1511 -0.0624)
OKLCHoklch(48.5% 0.163 337.6)
XYZxyz(17.2420, 9.9564, 21.0883)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952F7F #2F9545
analogous
#782F95 #952F7F #952F4C
triadic
#952F7F #7F952F #2F7F95
tetradic
#952F7F #95782F #2F9545 #2F4C95
square
#952F7F #95782F #2F9545 #2F4C95
split-complementary
#952F7F #4C952F #2F9578
monochromatic
#381230 #662057 #952F7F #C23FA6 #D16DBC

Accessibility & contrast

On white

7.02
#952F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#952F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952F7F
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952F7F#FFFFFF#000000##FFFFFF
##952F7F1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324F81
Deuteranopia (green-blind)
#535F7C
Tritanopia (blue-blind)
#9D3453
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #952f7f;
/* rgb */ color: rgb(149, 47, 127);
/* oklch */ color: oklch(48.5% 0.163 337.6);
Tailwind
colors: {
  custom: {
    50: '#b770a4',
    500: '#952f7f',
    950: '#000000',
  },
}
SCSS
$custom: #952f7f;
$custom-light: #b770a4;
$custom-dark: #000000;
JSON
{
  "hex": "#952f7f",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 127
  },
  "hsl": {
    "h": 312.941,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48497,
    "c": 0.16349,
    "h": 337.6
  },
  "luminance": 0.09955
}

Semantic roles & 50–950 ramp

primary
#952F7F
secondary
#67B879
accent
#DB6B4C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #952F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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