#952F82#952F82

#952F82 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.6% C 0.166 H 336.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#952F82
RGBrgb(149, 47, 130)
HSLhsl(311, 52%, 38%)
HSVhsv(311, 68%, 58%)
CMYKcmyk(0%, 68.5%, 12.8%, 41.6%)
CIE-LABlab(37.91, 51.77, -24.65)
CIE-LCHlch(37.91, 57.34, 334.54°)
OKLaboklab(48.65% 0.1515 -0.0671)
OKLCHoklch(48.65% 0.166 336.1)
XYZxyz(17.4404, 10.0358, 22.1333)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952F82 #2F9542
analogous
#752F95 #952F82 #952F4F
triadic
#952F82 #82952F #2F8295
tetradic
#952F82 #95752F #2F9542 #2F4F95
square
#952F82 #95752F #2F9542 #2F4F95
split-complementary
#952F82 #4F952F #2F9575
monochromatic
#381231 #662059 #952F82 #C23FAA #D16DBE

Accessibility & contrast

On white

6.98
#952F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#952F82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952F82
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952F82#FFFFFF#000000##FFFFFF
##952F821.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304F84
Deuteranopia (green-blind)
#525F7F
Tritanopia (blue-blind)
#9D3554
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #952f82;
/* rgb */ color: rgb(149, 47, 130);
/* oklch */ color: oklch(48.6% 0.166 336.1);
Tailwind
colors: {
  custom: {
    50: '#b770a6',
    500: '#952f82',
    950: '#000000',
  },
}
SCSS
$custom: #952f82;
$custom-light: #b770a6;
$custom-dark: #000000;
JSON
{
  "hex": "#952f82",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 311.176,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48647,
    "c": 0.16572,
    "h": 336.1
  },
  "luminance": 0.10034
}

Semantic roles & 50–950 ramp

primary
#952F82
secondary
#67B877
accent
#DB674C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #952F82

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

Preview Lab → · Contrast checker → · Palette generator →

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