#D962C2#D962C2

#D962C2 is a light, vivid pink. Relative luminance 0.274; OKLCH L 67.3% C 0.186 H 335.5°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#D962C2
RGBrgb(217, 98, 194)
HSLhsl(312, 61%, 62%)
HSVhsv(312, 55%, 85%)
CMYKcmyk(0%, 54.8%, 10.6%, 14.9%)
CIE-LABlab(59.33, 58.31, -28.49)
CIE-LCHlch(59.33, 64.90, 333.96°)
OKLaboklab(67.34% 0.1693 -0.0772)
OKLCHoklch(67.34% 0.186 335.5)
XYZxyz(42.7208, 27.3852, 54.0643)
Luminance0.2738 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D962C2 #62D979
analogous
#B562D9 #D962C2 #D96287
triadic
#D962C2 #C2D962 #62C2D9
tetradic
#D962C2 #D9B562 #62D979 #6287D9
square
#D962C2 #D9B562 #62D979 #6287D9
split-complementary
#D962C2 #87D962 #62D9B5
monochromatic
#9B2684 #CC31AE #D962C2 #E593D5 #F1C5E8

Accessibility & contrast

On white

3.24
#D962C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#D962C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D962C2
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D962C2#FFFFFF#000000##000000
##D962C21.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6384C5
Deuteranopia (green-blind)
#8695BF
Tritanopia (blue-blind)
#E36889
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d962c2;
/* rgb */ color: rgb(217, 98, 194);
/* oklch */ color: oklch(67.3% 0.186 335.5);
Tailwind
colors: {
  custom: {
    50: '#e794d4',
    500: '#d962c2',
    950: '#000000',
  },
}
SCSS
$custom: #d962c2;
$custom-light: #e794d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d962c2",
  "rgb": {
    "r": 217,
    "g": 98,
    "b": 194
  },
  "hsl": {
    "h": 311.597,
    "s": 61.026,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67342,
    "c": 0.18612,
    "h": 335.5
  },
  "luminance": 0.27382
}

Semantic roles & 50–950 ramp

primary
#D962C2
secondary
#B5E1BE
accent
#C93E1D
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160E14
muted
#847E83

Preview Lab

Preview with #D962C2

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

Preview Lab → · Contrast checker → · Palette generator →

#D962C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva