#952F7E#952F7E

#952F7E is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.4% C 0.163 H 338.0°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#952F7E
RGBrgb(149, 47, 126)
HSLhsl(314, 52%, 38%)
HSVhsv(314, 68%, 58%)
CMYKcmyk(0%, 68.5%, 15.4%, 41.6%)
CIE-LABlab(37.72, 51.15, -22.47)
CIE-LCHlch(37.72, 55.87, 336.28°)
OKLaboklab(48.45% 0.151 -0.0609)
OKLCHoklch(48.45% 0.163 338)
XYZxyz(17.1772, 9.9305, 20.7467)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952F7E #2F9546
analogous
#792F95 #952F7E #952F4B
triadic
#952F7E #7E952F #2F7E95
tetradic
#952F7E #95792F #2F9546 #2F4B95
square
#952F7E #95792F #2F9546 #2F4B95
split-complementary
#952F7E #4B952F #2F9579
monochromatic
#38122F #662057 #952F7E #C23FA5 #D16DBB

Accessibility & contrast

On white

7.03
#952F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #952F7E
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952F7E#FFFFFF#000000##FFFFFF
##952F7E1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334F80
Deuteranopia (green-blind)
#535F7C
Tritanopia (blue-blind)
#9D3352
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #952f7e;
/* rgb */ color: rgb(149, 47, 126);
/* oklch */ color: oklch(48.4% 0.163 338.0);
Tailwind
colors: {
  custom: {
    50: '#b770a3',
    500: '#952f7e',
    950: '#000000',
  },
}
SCSS
$custom: #952f7e;
$custom-light: #b770a3;
$custom-dark: #000000;
JSON
{
  "hex": "#952f7e",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 313.529,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48448,
    "c": 0.16276,
    "h": 338
  },
  "luminance": 0.09929
}

Semantic roles & 50–950 ramp

primary
#952F7E
secondary
#67B87A
accent
#DB6D4C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #952F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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