#D562B2#D562B2

#D562B2 is a light, vivid pink. Relative luminance 0.261; OKLCH L 66.1% C 0.171 H 340.6°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#D562B2
RGBrgb(213, 98, 178)
HSLhsl(318, 58%, 61%)
HSVhsv(318, 54%, 84%)
CMYKcmyk(0%, 54%, 16.4%, 16.5%)
CIE-LABlab(58.13, 54.68, -21.22)
CIE-LCHlch(58.13, 58.65, 338.79°)
OKLaboklab(66.13% 0.1617 -0.0568)
OKLCHoklch(66.13% 0.171 340.6)
XYZxyz(39.8448, 26.0990, 45.0499)
Luminance0.2610 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D562B2 #62D585
analogous
#BE62D5 #D562B2 #D56278
triadic
#D562B2 #B2D562 #62B2D5
tetradic
#D562B2 #D5BE62 #62D585 #6278D5
square
#D562B2 #D5BE62 #62D585 #6278D5
split-complementary
#D562B2 #78D562 #62D5BE
monochromatic
#952874 #C53599 #D562B2 #E292CA #EFC3E1

Accessibility & contrast

On white

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

On black

6.22
#D562B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D562B2
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D562B2#FFFFFF#000000##000000
##D562B21.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6880B5
Deuteranopia (green-blind)
#8893AF
Tritanopia (blue-blind)
#E06482
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #d562b2;
/* rgb */ color: rgb(213, 98, 178);
/* oklch */ color: oklch(66.1% 0.171 340.6);
Tailwind
colors: {
  custom: {
    50: '#e593c9',
    500: '#d562b2',
    950: '#000000',
  },
}
SCSS
$custom: #d562b2;
$custom-light: #e593c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d562b2",
  "rgb": {
    "r": 213,
    "g": 98,
    "b": 178
  },
  "hsl": {
    "h": 318.261,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66132,
    "c": 0.17141,
    "h": 340.6
  },
  "luminance": 0.26096
}

Semantic roles & 50–950 ramp

primary
#D562B2
secondary
#B4DFC1
accent
#C55220
background
#FEF9FC
surface
#FDF2F8
border
#D5CCD1
text
#160D13
muted
#847E82

Preview Lab

Preview with #D562B2

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

Preview Lab → · Contrast checker → · Palette generator →

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