#D13DB8#D13DB8

#D13DB8 is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.8% C 0.224 H 335.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#D13DB8
RGBrgb(209, 61, 184)
HSLhsl(310, 62%, 53%)
HSVhsv(310, 71%, 82%)
CMYKcmyk(0%, 70.8%, 12%, 18%)
CIE-LABlab(52.24, 69.68, -33.86)
CIE-LCHlch(52.24, 77.47, 334.08°)
OKLaboklab(61.78% 0.2038 -0.0923)
OKLCHoklch(61.78% 0.224 335.6)
XYZxyz(36.6155, 20.3567, 47.3389)
Luminance0.2035 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D13DB8 #3DD156
analogous
#A03DD1 #D13DB8 #D13D6E
triadic
#D13DB8 #B8D13D #3DB8D1
tetradic
#D13DB8 #D1A03D #3DD156 #3D6ED1
square
#D13DB8 #D1A03D #3DD156 #3D6ED1
split-complementary
#D13DB8 #6ED13D #3DD1A0
monochromatic
#771C68 #A92893 #D13DB8 #DD6ECA #E8A0DC

Accessibility & contrast

On white

4.14
#D13DB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#D13DB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D13DB8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D13DB8#FFFFFF#000000##000000
##D13DB81.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6EBB
Deuteranopia (green-blind)
#7185B4
Tritanopia (blue-blind)
#DB4876
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d13db8;
/* rgb */ color: rgb(209, 61, 184);
/* oklch */ color: oklch(61.8% 0.224 335.6);
Tailwind
colors: {
  custom: {
    50: '#e37fcd',
    500: '#d13db8',
    950: '#000000',
  },
}
SCSS
$custom: #d13db8;
$custom-light: #e37fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#d13db8",
  "rgb": {
    "r": 209,
    "g": 61,
    "b": 184
  },
  "hsl": {
    "h": 310.135,
    "s": 61.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61778,
    "c": 0.22372,
    "h": 335.6
  },
  "luminance": 0.20353
}

Semantic roles & 50–950 ramp

primary
#D13DB8
secondary
#95D5A0
accent
#E55E43
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #D13DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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