#D642A8#D642A8

#D642A8 is a light, highly saturated pink. Relative luminance 0.210; OKLCH L 62.2% C 0.211 H 342.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#D642A8
RGBrgb(214, 66, 168)
HSLhsl(319, 64%, 55%)
HSVhsv(319, 69%, 84%)
CMYKcmyk(0%, 69.2%, 21.5%, 16.1%)
CIE-LABlab(52.98, 66.95, -23.31)
CIE-LCHlch(52.98, 70.89, 340.80°)
OKLaboklab(62.24% 0.2011 -0.0624)
OKLCHoklch(62.24% 0.211 342.8)
XYZxyz(36.7489, 21.0234, 39.1607)
Luminance0.2102 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D642A8 #42D670
analogous
#BA42D6 #D642A8 #D6425E
triadic
#D642A8 #A8D642 #42A8D6
tetradic
#D642A8 #D6BA42 #42D670 #425ED6
square
#D642A8 #D6BA42 #42D670 #425ED6
split-complementary
#D642A8 #5ED642 #42D6BA
monochromatic
#821C62 #B42788 #D642A8 #E174BF #ECA7D6

Accessibility & contrast

On white

4.04
#D642A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#D642A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D642A8
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D642A8#FFFFFF#000000##000000
##D642A81.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#506FAB
Deuteranopia (green-blind)
#7D87A5
Tritanopia (blue-blind)
#E3436F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d642a8;
/* rgb */ color: rgb(214, 66, 168);
/* oklch */ color: oklch(62.2% 0.211 342.8);
Tailwind
colors: {
  custom: {
    50: '#e782c2',
    500: '#d642a8',
    950: '#000000',
  },
}
SCSS
$custom: #d642a8;
$custom-light: #e782c2;
$custom-dark: #000000;
JSON
{
  "hex": "#d642a8",
  "rgb": {
    "r": 214,
    "g": 66,
    "b": 168
  },
  "hsl": {
    "h": 318.649,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62241,
    "c": 0.21052,
    "h": 342.8
  },
  "luminance": 0.2102
}

Semantic roles & 50–950 ramp

primary
#D642A8
secondary
#9BD9AE
accent
#E77440
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D642A8

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

Preview Lab → · Contrast checker → · Palette generator →

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