#DD51C2#DD51C2

#DD51C2 is a light, highly saturated pink. Relative luminance 0.252; OKLCH L 65.9% C 0.213 H 336.2°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#DD51C2
RGBrgb(221, 81, 194)
HSLhsl(312, 67%, 59%)
HSVhsv(312, 63%, 87%)
CMYKcmyk(0%, 63.3%, 12.2%, 13.3%)
CIE-LABlab(57.23, 66.71, -31.71)
CIE-LCHlch(57.23, 73.86, 334.58°)
OKLaboklab(65.92% 0.1951 -0.0861)
OKLCHoklch(65.92% 0.213 336.2)
XYZxyz(42.4993, 25.1556, 53.6456)
Luminance0.2515 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD51C2 #51DD6C
analogous
#B251DD #DD51C2 #DD517C
triadic
#DD51C2 #C2DD51 #51C2DD
tetradic
#DD51C2 #DDB251 #51DD6C #517CDD
square
#DD51C2 #DDB251 #51DD6C #517CDD
split-complementary
#DD51C2 #7CDD51 #51DDB2
monochromatic
#961D7F #C927AA #DD51C2 #E784D4 #F1B7E6

Accessibility & contrast

On white

3.48
#DD51C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#DD51C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD51C2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD51C2#FFFFFF#000000##000000
##DD51C21.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#537CC5
Deuteranopia (green-blind)
#7F91BE
Tritanopia (blue-blind)
#E85982
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #dd51c2;
/* rgb */ color: rgb(221, 81, 194);
/* oklch */ color: oklch(65.9% 0.213 336.2);
Tailwind
colors: {
  custom: {
    50: '#eb8bd4',
    500: '#dd51c2',
    950: '#000000',
  },
}
SCSS
$custom: #dd51c2;
$custom-light: #eb8bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#dd51c2",
  "rgb": {
    "r": 221,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 311.571,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65915,
    "c": 0.21324,
    "h": 336.2
  },
  "luminance": 0.25152
}

Semantic roles & 50–950 ramp

primary
#DD51C2
secondary
#AAE0B4
accent
#EA5F3E
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170D14
muted
#857D83

Preview Lab

Preview with #DD51C2

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

Preview Lab → · Contrast checker → · Palette generator →

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