#952E71#952E71

#952E71 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.7% C 0.155 H 344.6°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#952E71
RGBrgb(149, 46, 113)
HSLhsl(321, 53%, 38%)
HSVhsv(321, 69%, 58%)
CMYKcmyk(0%, 69.1%, 24.2%, 41.6%)
CIE-LABlab(37.00, 49.65, -15.46)
CIE-LCHlch(37.00, 52.00, 342.70°)
OKLaboklab(47.74% 0.1497 -0.0411)
OKLCHoklch(47.74% 0.155 344.6)
XYZxyz(16.3527, 9.5375, 16.5993)
Luminance0.0954 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952E71 #2E9552
analogous
#852E95 #952E71 #952E3D
triadic
#952E71 #71952E #2E7195
tetradic
#952E71 #95852E #2E9552 #2E3D95
square
#952E71 #95852E #2E9552 #2E3D95
split-complementary
#952E71 #3D952E #2E9585
monochromatic
#37112A #66204E #952E71 #C33D94 #D26CAE

Accessibility & contrast

On white

7.22
#952E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#952E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952E71
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952E71#FFFFFF#000000##FFFFFF
##952E711.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394C73
Deuteranopia (green-blind)
#575D6F
Tritanopia (blue-blind)
#9F2D4B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #952e71;
/* rgb */ color: rgb(149, 46, 113);
/* oklch */ color: oklch(47.7% 0.155 344.6);
Tailwind
colors: {
  custom: {
    50: '#b86f9a',
    500: '#952e71',
    950: '#000000',
  },
}
SCSS
$custom: #952e71;
$custom-light: #b86f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#952e71",
  "rgb": {
    "r": 149,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 320.971,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47736,
    "c": 0.15524,
    "h": 344.6
  },
  "luminance": 0.09536
}

Semantic roles & 50–950 ramp

primary
#952E71
secondary
#66B983
accent
#DC7E4C
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #952E71

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

Preview Lab → · Contrast checker → · Palette generator →

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