#952A79#952A79

#952A79 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.166 H 340.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#952A79
RGBrgb(149, 42, 121)
HSLhsl(316, 56%, 37%)
HSVhsv(316, 72%, 58%)
CMYKcmyk(0%, 71.8%, 18.8%, 41.6%)
CIE-LABlab(36.79, 52.34, -20.79)
CIE-LCHlch(36.79, 56.31, 338.34°)
OKLaboklab(47.7% 0.156 -0.056)
OKLCHoklch(47.7% 0.166 340.2)
XYZxyz(16.6740, 9.4276, 19.0270)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952A79 #2A9546
analogous
#7C2A95 #952A79 #952A43
triadic
#952A79 #79952A #2A7995
tetradic
#952A79 #957C2A #2A9546 #2A4395
square
#952A79 #957C2A #2A9546 #2A4395
split-complementary
#952A79 #43952A #2A957C
monochromatic
#360F2B #651D52 #952A79 #C537A0 #D466B7

Accessibility & contrast

On white

7.28
#952A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#952A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952A79
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952A79#FFFFFF#000000##FFFFFF
##952A791.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7B
Deuteranopia (green-blind)
#535D76
Tritanopia (blue-blind)
#9E2D4E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #952a79;
/* rgb */ color: rgb(149, 42, 121);
/* oklch */ color: oklch(47.7% 0.166 340.2);
Tailwind
colors: {
  custom: {
    50: '#b86da0',
    500: '#952a79',
    950: '#000000',
  },
}
SCSS
$custom: #952a79;
$custom-light: #b86da0;
$custom-dark: #000000;
JSON
{
  "hex": "#952a79",
  "rgb": {
    "r": 149,
    "g": 42,
    "b": 121
  },
  "hsl": {
    "h": 315.701,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47702,
    "c": 0.16574,
    "h": 340.2
  },
  "luminance": 0.09426
}

Semantic roles & 50–950 ramp

primary
#952A79
secondary
#61BA78
accent
#DF7048
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #952A79

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

Preview Lab → · Contrast checker → · Palette generator →

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