#962A7C#962A7C

#962A7C is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.0% C 0.168 H 339.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#962A7C
RGBrgb(150, 42, 124)
HSLhsl(314, 56%, 38%)
HSVhsv(314, 72%, 59%)
CMYKcmyk(0%, 72%, 17.3%, 41.2%)
CIE-LABlab(37.11, 53.04, -22.16)
CIE-LCHlch(37.11, 57.48, 337.32°)
OKLaboklab(48.01% 0.1575 -0.0599)
OKLCHoklch(48.01% 0.168 339.2)
XYZxyz(17.0441, 9.5968, 20.0196)
Luminance0.0959 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#962A7C #2A9644
analogous
#7A2A96 #962A7C #962A46
triadic
#962A7C #7C962A #2A7C96
tetradic
#962A7C #967A2A #2A9644 #2A4696
square
#962A7C #967A2A #2A9644 #2A4696
split-complementary
#962A7C #46962A #2A967A
monochromatic
#360F2D #661D54 #962A7C #C637A4 #D466BA

Accessibility & contrast

On white

7.19
#962A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#962A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #962A7C
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##962A7C#FFFFFF#000000##FFFFFF
##962A7C1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7E
Deuteranopia (green-blind)
#535D79
Tritanopia (blue-blind)
#9F2E4F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #962a7c;
/* rgb */ color: rgb(150, 42, 124);
/* oklch */ color: oklch(48.0% 0.168 339.2);
Tailwind
colors: {
  custom: {
    50: '#b86ea2',
    500: '#962a7c',
    950: '#000000',
  },
}
SCSS
$custom: #962a7c;
$custom-light: #b86ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#962a7c",
  "rgb": {
    "r": 150,
    "g": 42,
    "b": 124
  },
  "hsl": {
    "h": 314.444,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48008,
    "c": 0.16848,
    "h": 339.2
  },
  "luminance": 0.09595
}

Semantic roles & 50–950 ramp

primary
#962A7C
secondary
#61BA77
accent
#E06D48
background
#FBF6FA
surface
#F6ECF3
border
#D0C7CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #962A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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