#D642B9#D642B9

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

Color values

HEX#D642B9
RGBrgb(214, 66, 185)
HSLhsl(312, 64%, 55%)
HSVhsv(312, 69%, 84%)
CMYKcmyk(0%, 69.2%, 13.6%, 16.1%)
CIE-LABlab(53.71, 69.29, -32.09)
CIE-LCHlch(53.71, 76.36, 335.15°)
OKLaboklab(63.01% 0.2037 -0.0872)
OKLCHoklch(63.01% 0.222 336.8)
XYZxyz(38.4374, 21.6988, 48.0535)
Luminance0.2170 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D642B9 #42D65F
analogous
#A942D6 #D642B9 #D6426F
triadic
#D642B9 #B9D642 #42B9D6
tetradic
#D642B9 #D6A942 #42D65F #426FD6
square
#D642B9 #D6A942 #42D65F #426FD6
split-complementary
#D642B9 #6FD642 #42D6A9
monochromatic
#821C6E #B42798 #D642B9 #E174CC #ECA7DE

Accessibility & contrast

On white

3.93
#D642B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#D642B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D642B9
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D642B9#FFFFFF#000000##000000
##D642B91.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4572BC
Deuteranopia (green-blind)
#7788B5
Tritanopia (blue-blind)
#E14B78
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d642b9;
/* rgb */ color: rgb(214, 66, 185);
/* oklch */ color: oklch(63.0% 0.222 336.8);
Tailwind
colors: {
  custom: {
    50: '#e682ce',
    500: '#d642b9',
    950: '#000000',
  },
}
SCSS
$custom: #d642b9;
$custom-light: #e682ce;
$custom-dark: #000000;
JSON
{
  "hex": "#d642b9",
  "rgb": {
    "r": 214,
    "g": 66,
    "b": 185
  },
  "hsl": {
    "h": 311.757,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.63011,
    "c": 0.22155,
    "h": 336.8
  },
  "luminance": 0.21695
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D642B9

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

Preview Lab → · Contrast checker → · Palette generator →

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