#D062B2#D062B2

#D062B2 is a light, vivid pink. Relative luminance 0.254; OKLCH L 65.5% C 0.167 H 339.0°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#D062B2
RGBrgb(208, 98, 178)
HSLhsl(316, 54%, 60%)
HSVhsv(316, 53%, 82%)
CMYKcmyk(0%, 52.9%, 14.4%, 18.4%)
CIE-LABlab(57.43, 53.19, -22.36)
CIE-LCHlch(57.43, 57.70, 337.20°)
OKLaboklab(65.47% 0.1563 -0.0601)
OKLCHoklch(65.47% 0.167 339)
XYZxyz(38.4165, 25.3625, 44.9829)
Luminance0.2536 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D062B2 #62D080
analogous
#B762D0 #D062B2 #D0627B
triadic
#D062B2 #B2D062 #62B2D0
tetradic
#D062B2 #D0B762 #62D080 #627BD0
square
#D062B2 #D0B762 #62D080 #627BD0
split-complementary
#D062B2 #7BD062 #62D0B7
monochromatic
#8D2A72 #BC3898 #D062B2 #DE91C9 #ECC0E0

Accessibility & contrast

On white

3.46
#D062B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#D062B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D062B2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D062B2#FFFFFF#000000##000000
##D062B21.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#667FB5
Deuteranopia (green-blind)
#8590AF
Tritanopia (blue-blind)
#DA6582
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d062b2;
/* rgb */ color: rgb(208, 98, 178);
/* oklch */ color: oklch(65.5% 0.167 339.0);
Tailwind
colors: {
  custom: {
    50: '#e193c9',
    500: '#d062b2',
    950: '#000000',
  },
}
SCSS
$custom: #d062b2;
$custom-light: #e193c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d062b2",
  "rgb": {
    "r": 208,
    "g": 98,
    "b": 178
  },
  "hsl": {
    "h": 316.364,
    "s": 53.922,
    "l": 60
  },
  "oklch": {
    "l": 0.65467,
    "c": 0.16749,
    "h": 339
  },
  "luminance": 0.2536
}

Semantic roles & 50–950 ramp

primary
#D062B2
secondary
#B2DCBD
accent
#DD734B
background
#FEF9FC
surface
#FCF2F8
border
#D5CCD1
text
#160D13
muted
#847E82

Preview Lab

Preview with #D062B2

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

Preview Lab → · Contrast checker → · Palette generator →

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