#952A78#952A78

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

Color values

HEX#952A78
RGBrgb(149, 42, 120)
HSLhsl(316, 56%, 37%)
HSVhsv(316, 72%, 58%)
CMYKcmyk(0%, 71.8%, 19.5%, 41.6%)
CIE-LABlab(36.75, 52.19, -20.23)
CIE-LCHlch(36.75, 55.98, 338.81°)
OKLaboklab(47.65% 0.1558 -0.0545)
OKLCHoklch(47.65% 0.165 340.7)
XYZxyz(16.6130, 9.4032, 18.7057)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952A78 #2A9547
analogous
#7D2A95 #952A78 #952A42
triadic
#952A78 #78952A #2A7895
tetradic
#952A78 #957D2A #2A9547 #2A4295
square
#952A78 #957D2A #2A9547 #2A4295
split-complementary
#952A78 #42952A #2A957D
monochromatic
#360F2B #651D52 #952A78 #C5379E #D466B6

Accessibility & contrast

On white

7.29
#952A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#952A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952A78
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952A78#FFFFFF#000000##FFFFFF
##952A781.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324B7A
Deuteranopia (green-blind)
#535D75
Tritanopia (blue-blind)
#9E2C4D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #952a78;
/* rgb */ color: rgb(149, 42, 120);
/* oklch */ color: oklch(47.7% 0.165 340.7);
Tailwind
colors: {
  custom: {
    50: '#b86d9f',
    500: '#952a78',
    950: '#000000',
  },
}
SCSS
$custom: #952a78;
$custom-light: #b86d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#952a78",
  "rgb": {
    "r": 149,
    "g": 42,
    "b": 120
  },
  "hsl": {
    "h": 316.262,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47654,
    "c": 0.16506,
    "h": 340.7
  },
  "luminance": 0.09402
}

Semantic roles & 50–950 ramp

primary
#952A78
secondary
#61BA79
accent
#DF7148
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #952A78

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

Preview Lab → · Contrast checker → · Palette generator →

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