#D642B8#D642B8

#D642B8 is a light, highly saturated pink. Relative luminance 0.217; OKLCH L 63.0% C 0.221 H 337.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#D642B8
RGBrgb(214, 66, 184)
HSLhsl(312, 64%, 55%)
HSVhsv(312, 69%, 84%)
CMYKcmyk(0%, 69.2%, 14%, 16.1%)
CIE-LABlab(53.66, 69.15, -31.58)
CIE-LCHlch(53.66, 76.02, 335.46°)
OKLaboklab(62.96% 0.2035 -0.0858)
OKLCHoklch(62.96% 0.221 337.1)
XYZxyz(38.3322, 21.6567, 47.4994)
Luminance0.2165 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D642B8 #42D660
analogous
#AA42D6 #D642B8 #D6426E
triadic
#D642B8 #B8D642 #42B8D6
tetradic
#D642B8 #D6AA42 #42D660 #426ED6
square
#D642B8 #D6AA42 #42D660 #426ED6
split-complementary
#D642B8 #6ED642 #42D6AA
monochromatic
#821C6D #B42797 #D642B8 #E174CB #ECA7DE

Accessibility & contrast

On white

3.94
#D642B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#D642B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D642B8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D642B8#FFFFFF#000000##000000
##D642B81.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4672BB
Deuteranopia (green-blind)
#7788B4
Tritanopia (blue-blind)
#E14A78
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d642b8;
/* rgb */ color: rgb(214, 66, 184);
/* oklch */ color: oklch(63.0% 0.221 337.1);
Tailwind
colors: {
  custom: {
    50: '#e682cd',
    500: '#d642b8',
    950: '#000000',
  },
}
SCSS
$custom: #d642b8;
$custom-light: #e682cd;
$custom-dark: #000000;
JSON
{
  "hex": "#d642b8",
  "rgb": {
    "r": 214,
    "g": 66,
    "b": 184
  },
  "hsl": {
    "h": 312.162,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62964,
    "c": 0.22087,
    "h": 337.1
  },
  "luminance": 0.21653
}

Semantic roles & 50–950 ramp

primary
#D642B8
secondary
#9BD9A7
accent
#E76240
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #D642B8

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

Preview Lab → · Contrast checker → · Palette generator →

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