#DD51A7#DD51A7

#DD51A7 is a light, vivid pink. Relative luminance 0.240; OKLCH L 64.8% C 0.196 H 346.1°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#DD51A7
RGBrgb(221, 81, 167)
HSLhsl(323, 67%, 59%)
HSVhsv(323, 63%, 87%)
CMYKcmyk(0%, 63.3%, 24.4%, 13.3%)
CIE-LABlab(56.14, 62.93, -17.78)
CIE-LCHlch(56.14, 65.39, 344.22°)
OKLaboklab(64.76% 0.1899 -0.047)
OKLCHoklch(64.76% 0.196 346.1)
XYZxyz(39.7377, 24.0509, 39.1012)
Luminance0.2405 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD51A7 #51DD87
analogous
#CD51DD #DD51A7 #DD5161
triadic
#DD51A7 #A7DD51 #51A7DD
tetradic
#DD51A7 #DDCD51 #51DD87 #5161DD
square
#DD51A7 #DDCD51 #51DD87 #5161DD
split-complementary
#DD51A7 #61DD51 #51DDCD
monochromatic
#961D68 #C9278B #DD51A7 #E784C1 #F1B7DB

Accessibility & contrast

On white

3.61
#DD51A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#DD51A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD51A7
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD51A7#FFFFFF#000000##000000
##DD51A71.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6077AA
Deuteranopia (green-blind)
#898FA4
Tritanopia (blue-blind)
#EB4E75
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #dd51a7;
/* rgb */ color: rgb(221, 81, 167);
/* oklch */ color: oklch(64.8% 0.196 346.1);
Tailwind
colors: {
  custom: {
    50: '#eb8ac1',
    500: '#dd51a7',
    950: '#000000',
  },
}
SCSS
$custom: #dd51a7;
$custom-light: #eb8ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#dd51a7",
  "rgb": {
    "r": 221,
    "g": 81,
    "b": 167
  },
  "hsl": {
    "h": 323.143,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64762,
    "c": 0.19566,
    "h": 346.1
  },
  "luminance": 0.24047
}

Semantic roles & 50–950 ramp

primary
#DD51A7
secondary
#AAE0BF
accent
#EA803E
background
#FEF8FB
surface
#FDF0F7
border
#D5CBD0
text
#170C12
muted
#857D81

Preview Lab

Preview with #DD51A7

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

Preview Lab → · Contrast checker → · Palette generator →

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