#DD51B2#DD51B2

#DD51B2 is a light, highly saturated pink. Relative luminance 0.245; OKLCH L 65.2% C 0.202 H 341.9°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#DD51B2
RGBrgb(221, 81, 178)
HSLhsl(318, 67%, 59%)
HSVhsv(318, 63%, 87%)
CMYKcmyk(0%, 63.3%, 19.5%, 13.3%)
CIE-LABlab(56.56, 64.41, -23.52)
CIE-LCHlch(56.56, 68.57, 339.94°)
OKLaboklab(65.21% 0.1923 -0.063)
OKLCHoklch(65.21% 0.202 341.9)
XYZxyz(40.7982, 24.4751, 44.6863)
Luminance0.2447 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD51B2 #51DD7C
analogous
#C251DD #DD51B2 #DD516C
triadic
#DD51B2 #B2DD51 #51B2DD
tetradic
#DD51B2 #DDC251 #51DD7C #516CDD
square
#DD51B2 #DDC251 #51DD7C #516CDD
split-complementary
#DD51B2 #6CDD51 #51DDC2
monochromatic
#961D71 #C92798 #DD51B2 #E784C9 #F1B7DF

Accessibility & contrast

On white

3.56
#DD51B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#DD51B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD51B2
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD51B2#FFFFFF#000000##000000
##DD51B21.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B79B5
Deuteranopia (green-blind)
#8590AF
Tritanopia (blue-blind)
#EA537A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #dd51b2;
/* rgb */ color: rgb(221, 81, 178);
/* oklch */ color: oklch(65.2% 0.202 341.9);
Tailwind
colors: {
  custom: {
    50: '#eb8ac9',
    500: '#dd51b2',
    950: '#000000',
  },
}
SCSS
$custom: #dd51b2;
$custom-light: #eb8ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#dd51b2",
  "rgb": {
    "r": 221,
    "g": 81,
    "b": 178
  },
  "hsl": {
    "h": 318.429,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.6521,
    "c": 0.20238,
    "h": 341.9
  },
  "luminance": 0.24471
}

Semantic roles & 50–950 ramp

primary
#DD51B2
secondary
#AAE0BA
accent
#EA733E
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DD51B2

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

Preview Lab → · Contrast checker → · Palette generator →

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