#952E7D#952E7D

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

Color values

HEX#952E7D
RGBrgb(149, 46, 125)
HSLhsl(314, 53%, 38%)
HSVhsv(314, 69%, 58%)
CMYKcmyk(0%, 69.1%, 16.1%, 41.6%)
CIE-LABlab(37.53, 51.39, -22.14)
CIE-LCHlch(37.53, 55.96, 336.69°)
OKLaboklab(48.3% 0.152 -0.0599)
OKLCHoklch(48.3% 0.163 338.5)
XYZxyz(17.0734, 9.8258, 20.3954)
Luminance0.0982 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952E7D #2E9546
analogous
#7A2E95 #952E7D #952E49
triadic
#952E7D #7D952E #2E7D95
tetradic
#952E7D #957A2E #2E9546 #2E4995
square
#952E7D #957A2E #2E9546 #2E4995
split-complementary
#952E7D #49952E #2E957A
monochromatic
#37112F #662056 #952E7D #C33DA4 #D26CBA

Accessibility & contrast

On white

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

On black

2.96
#952E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##952E7D#FFFFFF#000000##FFFFFF
##952E7D1.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334E7F
Deuteranopia (green-blind)
#535E7A
Tritanopia (blue-blind)
#9D3251
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #952e7d;
/* rgb */ color: rgb(149, 46, 125);
/* oklch */ color: oklch(48.3% 0.163 338.5);
Tailwind
colors: {
  custom: {
    50: '#b76fa3',
    500: '#952e7d',
    950: '#000000',
  },
}
SCSS
$custom: #952e7d;
$custom-light: #b76fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#952e7d",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 313.981,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48295,
    "c": 0.16337,
    "h": 338.5
  },
  "luminance": 0.09824
}

Semantic roles & 50–950 ramp

primary
#952E7D
secondary
#66B979
accent
#DC6D4C
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #952E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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