#962D7E#962D7E

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

Color values

HEX#962D7E
RGBrgb(150, 45, 126)
HSLhsl(314, 54%, 38%)
HSVhsv(314, 70%, 59%)
CMYKcmyk(0%, 70%, 16%, 41.2%)
CIE-LABlab(37.61, 52.20, -22.63)
CIE-LCHlch(37.61, 56.90, 336.56°)
OKLaboklab(48.4% 0.1544 -0.0613)
OKLCHoklch(48.4% 0.166 338.3)
XYZxyz(17.2823, 9.8687, 20.7293)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962D7E #2D9645
analogous
#792D96 #962D7E #962D4A
triadic
#962D7E #7E962D #2D7E96
tetradic
#962D7E #96792D #2D9645 #2D4A96
square
#962D7E #96792D #2D9645 #2D4A96
split-complementary
#962D7E #4A962D #2D9679
monochromatic
#38112F #671F56 #962D7E #C43CA5 #D36BBB

Accessibility & contrast

On white

7.06
#962D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#962D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #962D7E
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962D7E#FFFFFF#000000##FFFFFF
##962D7E1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324E80
Deuteranopia (green-blind)
#535E7B
Tritanopia (blue-blind)
#9E3251
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #962d7e;
/* rgb */ color: rgb(150, 45, 126);
/* oklch */ color: oklch(48.4% 0.166 338.3);
Tailwind
colors: {
  custom: {
    50: '#b86fa3',
    500: '#962d7e',
    950: '#000000',
  },
}
SCSS
$custom: #962d7e;
$custom-light: #b86fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#962d7e",
  "rgb": {
    "r": 150,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 313.714,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.484,
    "c": 0.16608,
    "h": 338.3
  },
  "luminance": 0.09867
}

Semantic roles & 50–950 ramp

primary
#962D7E
secondary
#65B979
accent
#DD6C4B
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #962D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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