#952A7F#952A7F

#952A7F is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.0% C 0.170 H 337.4°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#952A7F
RGBrgb(149, 42, 127)
HSLhsl(312, 56%, 37%)
HSVhsv(312, 72%, 58%)
CMYKcmyk(0%, 71.8%, 14.8%, 41.6%)
CIE-LABlab(37.08, 53.23, -24.09)
CIE-LCHlch(37.08, 58.43, 335.65°)
OKLaboklab(48% 0.1569 -0.0654)
OKLCHoklch(48% 0.17 337.4)
XYZxyz(17.0535, 9.5793, 21.0254)
Luminance0.0958 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952A7F #2A9540
analogous
#752A95 #952A7F #952A4A
triadic
#952A7F #7F952A #2A7F95
tetradic
#952A7F #95752A #2A9540 #2A4A95
square
#952A7F #95752A #2A9540 #2A4A95
split-complementary
#952A7F #4A952A #2A9575
monochromatic
#360F2E #651D56 #952A7F #C537A8 #D466BD

Accessibility & contrast

On white

7.20
#952A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#952A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952A7F
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952A7F#FFFFFF#000000##FFFFFF
##952A7F1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4D81
Deuteranopia (green-blind)
#515D7C
Tritanopia (blue-blind)
#9D3051
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #952a7f;
/* rgb */ color: rgb(149, 42, 127);
/* oklch */ color: oklch(48.0% 0.170 337.4);
Tailwind
colors: {
  custom: {
    50: '#b76ea4',
    500: '#952a7f',
    950: '#000000',
  },
}
SCSS
$custom: #952a7f;
$custom-light: #b76ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#952a7f",
  "rgb": {
    "r": 149,
    "g": 42,
    "b": 127
  },
  "hsl": {
    "h": 312.336,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47998,
    "c": 0.16996,
    "h": 337.4
  },
  "luminance": 0.09578
}

Semantic roles & 50–950 ramp

primary
#952A7F
secondary
#61BA73
accent
#DF6748
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #952A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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