#DD51B3#DD51B3

#DD51B3 is a light, highly saturated pink. Relative luminance 0.245; OKLCH L 65.3% C 0.203 H 341.5°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#DD51B3
RGBrgb(221, 81, 179)
HSLhsl(318, 67%, 59%)
HSVhsv(318, 63%, 87%)
CMYKcmyk(0%, 63.3%, 19%, 13.3%)
CIE-LABlab(56.60, 64.55, -24.04)
CIE-LCHlch(56.60, 68.88, 339.57°)
OKLaboklab(65.25% 0.1925 -0.0645)
OKLCHoklch(65.25% 0.203 341.5)
XYZxyz(40.8990, 24.5154, 45.2170)
Luminance0.2451 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD51B3 #51DD7B
analogous
#C151DD #DD51B3 #DD516D
triadic
#DD51B3 #B3DD51 #51B3DD
tetradic
#DD51B3 #DDC151 #51DD7B #516DDD
square
#DD51B3 #DDC151 #51DD7B #516DDD
split-complementary
#DD51B3 #6DDD51 #51DDC1
monochromatic
#961D72 #C92799 #DD51B3 #E784C9 #F1B7E0

Accessibility & contrast

On white

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

On black

5.90
#DD51B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DD51B3
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD51B3#FFFFFF#000000##000000
##DD51B31.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B79B6
Deuteranopia (green-blind)
#8590B0
Tritanopia (blue-blind)
#EA537B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #dd51b3;
/* rgb */ color: rgb(221, 81, 179);
/* oklch */ color: oklch(65.3% 0.203 341.5);
Tailwind
colors: {
  custom: {
    50: '#eb8aca',
    500: '#dd51b3',
    950: '#000000',
  },
}
SCSS
$custom: #dd51b3;
$custom-light: #eb8aca;
$custom-dark: #000000;
JSON
{
  "hex": "#dd51b3",
  "rgb": {
    "r": 221,
    "g": 81,
    "b": 179
  },
  "hsl": {
    "h": 318,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65252,
    "c": 0.20302,
    "h": 341.5
  },
  "luminance": 0.24512
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DD51B3

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

Preview Lab → · Contrast checker → · Palette generator →

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