#DD51B5#DD51B5

#DD51B5 is a light, highly saturated pink. Relative luminance 0.246; OKLCH L 65.3% C 0.204 H 340.7°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#DD51B5
RGBrgb(221, 81, 181)
HSLhsl(317, 67%, 59%)
HSVhsv(317, 63%, 87%)
CMYKcmyk(0%, 63.3%, 18.1%, 13.3%)
CIE-LABlab(56.68, 64.83, -25.07)
CIE-LCHlch(56.68, 69.51, 338.85°)
OKLaboklab(65.34% 0.1929 -0.0674)
OKLCHoklch(65.34% 0.204 340.7)
XYZxyz(41.1027, 24.5969, 46.2901)
Luminance0.2459 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD51B5 #51DD79
analogous
#BF51DD #DD51B5 #DD516F
triadic
#DD51B5 #B5DD51 #51B5DD
tetradic
#DD51B5 #DDBF51 #51DD79 #516FDD
square
#DD51B5 #DDBF51 #51DD79 #516FDD
split-complementary
#DD51B5 #6FDD51 #51DDBF
monochromatic
#961D74 #C9279B #DD51B5 #E784CB #F1B7E1

Accessibility & contrast

On white

3.55
#DD51B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#DD51B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD51B5
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD51B5#FFFFFF#000000##000000
##DD51B51.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7AB8
Deuteranopia (green-blind)
#8490B2
Tritanopia (blue-blind)
#EA547C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #dd51b5;
/* rgb */ color: rgb(221, 81, 181);
/* oklch */ color: oklch(65.3% 0.204 340.7);
Tailwind
colors: {
  custom: {
    50: '#eb8acb',
    500: '#dd51b5',
    950: '#000000',
  },
}
SCSS
$custom: #dd51b5;
$custom-light: #eb8acb;
$custom-dark: #000000;
JSON
{
  "hex": "#dd51b5",
  "rgb": {
    "r": 221,
    "g": 81,
    "b": 181
  },
  "hsl": {
    "h": 317.143,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65337,
    "c": 0.20433,
    "h": 340.7
  },
  "luminance": 0.24593
}

Semantic roles & 50–950 ramp

primary
#DD51B5
secondary
#AAE0B9
accent
#EA6F3E
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170D13
muted
#857D82

Preview Lab

Preview with #DD51B5

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

Preview Lab → · Contrast checker → · Palette generator →

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