#962D7F#962D7F

#962D7F is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.4% C 0.167 H 337.9°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#962D7F
RGBrgb(150, 45, 127)
HSLhsl(313, 54%, 38%)
HSVhsv(313, 70%, 59%)
CMYKcmyk(0%, 70%, 15.3%, 41.2%)
CIE-LABlab(37.65, 52.36, -23.18)
CIE-LCHlch(37.65, 57.26, 336.12°)
OKLaboklab(48.45% 0.1545 -0.0628)
OKLCHoklch(48.45% 0.167 337.9)
XYZxyz(17.3472, 9.8947, 21.0708)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962D7F #2D9644
analogous
#782D96 #962D7F #962D4A
triadic
#962D7F #7F962D #2D7F96
tetradic
#962D7F #96782D #2D9644 #2D4A96
square
#962D7F #96782D #2D9644 #2D4A96
split-complementary
#962D7F #4A962D #2D9678
monochromatic
#38112F #671F57 #962D7F #C43CA6 #D36BBC

Accessibility & contrast

On white

7.05
#962D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#962D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #962D7F
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962D7F#FFFFFF#000000##FFFFFF
##962D7F1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314E81
Deuteranopia (green-blind)
#535E7C
Tritanopia (blue-blind)
#9E3252
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #962d7f;
/* rgb */ color: rgb(150, 45, 127);
/* oklch */ color: oklch(48.4% 0.167 337.9);
Tailwind
colors: {
  custom: {
    50: '#b86fa4',
    500: '#962d7f',
    950: '#000000',
  },
}
SCSS
$custom: #962d7f;
$custom-light: #b86fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#962d7f",
  "rgb": {
    "r": 150,
    "g": 45,
    "b": 127
  },
  "hsl": {
    "h": 313.143,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48449,
    "c": 0.1668,
    "h": 337.9
  },
  "luminance": 0.09893
}

Semantic roles & 50–950 ramp

primary
#962D7F
secondary
#65B978
accent
#DD6B4B
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #962D7F

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

Preview Lab → · Contrast checker → · Palette generator →

#962D7F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva