#952F84#952F84

#952F84 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.7% C 0.167 H 335.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#952F84
RGBrgb(149, 47, 132)
HSLhsl(310, 52%, 38%)
HSVhsv(310, 68%, 58%)
CMYKcmyk(0%, 68.5%, 11.4%, 41.6%)
CIE-LABlab(38.00, 52.09, -25.74)
CIE-LCHlch(38.00, 58.10, 333.70°)
OKLaboklab(48.75% 0.1518 -0.0702)
OKLCHoklch(48.75% 0.167 335.2)
XYZxyz(17.5760, 10.0900, 22.8472)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952F84 #2F9540
analogous
#732F95 #952F84 #952F51
triadic
#952F84 #84952F #2F8495
tetradic
#952F84 #95732F #2F9540 #2F5195
square
#952F84 #95732F #2F9540 #2F5195
split-complementary
#952F84 #51952F #2F9573
monochromatic
#381232 #66205B #952F84 #C23FAC #D16DC0

Accessibility & contrast

On white

6.96
#952F84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#952F84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #952F84
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952F84#FFFFFF#000000##FFFFFF
##952F841.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5086
Deuteranopia (green-blind)
#515F81
Tritanopia (blue-blind)
#9C3655
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #952f84;
/* rgb */ color: rgb(149, 47, 132);
/* oklch */ color: oklch(48.7% 0.167 335.2);
Tailwind
colors: {
  custom: {
    50: '#b770a8',
    500: '#952f84',
    950: '#000000',
  },
}
SCSS
$custom: #952f84;
$custom-light: #b770a8;
$custom-dark: #000000;
JSON
{
  "hex": "#952f84",
  "rgb": {
    "r": 149,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 310,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48749,
    "c": 0.16723,
    "h": 335.2
  },
  "luminance": 0.10089
}

Semantic roles & 50–950 ramp

primary
#952F84
secondary
#67B875
accent
#DB644C
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #952F84

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

Preview Lab → · Contrast checker → · Palette generator →

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