#D062C2#D062C2

#D062C2 is a light, vivid purple. Relative luminance 0.260; OKLCH L 66.2% C 0.180 H 332.5°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#D062C2
RGBrgb(208, 98, 194)
HSLhsl(308, 54%, 60%)
HSVhsv(308, 53%, 82%)
CMYKcmyk(0%, 52.9%, 6.7%, 18.4%)
CIE-LABlab(58.08, 55.76, -30.53)
CIE-LCHlch(58.08, 63.57, 331.30°)
OKLaboklab(66.16% 0.1596 -0.0832)
OKLCHoklch(66.16% 0.18 332.5)
XYZxyz(40.1176, 26.0430, 53.9423)
Luminance0.2604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D062C2 #62D070
analogous
#A762D0 #D062C2 #D0628B
triadic
#D062C2 #C2D062 #62C2D0
tetradic
#D062C2 #D0A762 #62D070 #628BD0
square
#D062C2 #D0A762 #62D070 #628BD0
split-complementary
#D062C2 #8BD062 #62D0A7
monochromatic
#8D2A81 #BC38AC #D062C2 #DE91D4 #ECC0E7

Accessibility & contrast

On white

3.38
#D062C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#D062C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D062C2
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D062C2#FFFFFF#000000##000000
##D062C21.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F82C5
Deuteranopia (green-blind)
#7F91BF
Tritanopia (blue-blind)
#D86A89
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d062c2;
/* rgb */ color: rgb(208, 98, 194);
/* oklch */ color: oklch(66.2% 0.180 332.5);
Tailwind
colors: {
  custom: {
    50: '#e193d4',
    500: '#d062c2',
    950: '#000000',
  },
}
SCSS
$custom: #d062c2;
$custom-light: #e193d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d062c2",
  "rgb": {
    "r": 208,
    "g": 98,
    "b": 194
  },
  "hsl": {
    "h": 307.636,
    "s": 53.922,
    "l": 60
  },
  "oklch": {
    "l": 0.66162,
    "c": 0.17996,
    "h": 332.5
  },
  "luminance": 0.2604
}

Semantic roles & 50–950 ramp

primary
#D062C2
secondary
#B2DCB7
accent
#DD5D4B
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D062C2

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

Preview Lab → · Contrast checker → · Palette generator →

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