#DD51A2#DD51A2

#DD51A2 is a light, vivid pink. Relative luminance 0.239; OKLCH L 64.6% C 0.193 H 348.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#DD51A2
RGBrgb(221, 81, 162)
HSLhsl(325, 67%, 59%)
HSVhsv(325, 63%, 87%)
CMYKcmyk(0%, 63.3%, 26.7%, 13.3%)
CIE-LABlab(55.96, 62.29, -15.14)
CIE-LCHlch(55.96, 64.10, 346.34°)
OKLaboklab(64.57% 0.1887 -0.0398)
OKLCHoklch(64.57% 0.193 348.1)
XYZxyz(39.2844, 23.8696, 36.7138)
Luminance0.2387 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD51A2 #51DD8C
analogous
#D251DD #DD51A2 #DD515C
triadic
#DD51A2 #A2DD51 #51A2DD
tetradic
#DD51A2 #DDD251 #51DD8C #515CDD
square
#DD51A2 #DDD251 #51DD8C #515CDD
split-complementary
#DD51A2 #5CDD51 #51DDD2
monochromatic
#961D63 #C92785 #DD51A2 #E784BD #F1B7D9

Accessibility & contrast

On white

3.64
#DD51A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#DD51A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD51A2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD51A2#FFFFFF#000000##000000
##DD51A21.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6277A4
Deuteranopia (green-blind)
#8A8F9F
Tritanopia (blue-blind)
#EC4C73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #dd51a2;
/* rgb */ color: rgb(221, 81, 162);
/* oklch */ color: oklch(64.6% 0.193 348.1);
Tailwind
colors: {
  custom: {
    50: '#eb8abd',
    500: '#dd51a2',
    950: '#000000',
  },
}
SCSS
$custom: #dd51a2;
$custom-light: #eb8abd;
$custom-dark: #000000;
JSON
{
  "hex": "#dd51a2",
  "rgb": {
    "r": 221,
    "g": 81,
    "b": 162
  },
  "hsl": {
    "h": 325.286,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64568,
    "c": 0.19284,
    "h": 348.1
  },
  "luminance": 0.23866
}

Semantic roles & 50–950 ramp

primary
#DD51A2
secondary
#AAE0C1
accent
#EA863E
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #DD51A2

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

Preview Lab → · Contrast checker → · Palette generator →

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