#DA51B2#DA51B2

#DA51B2 is a light, highly saturated pink. Relative luminance 0.240; OKLCH L 64.8% C 0.200 H 341.0°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#DA51B2
RGBrgb(218, 81, 178)
HSLhsl(318, 65%, 59%)
HSVhsv(318, 63%, 85%)
CMYKcmyk(0%, 62.8%, 18.3%, 14.5%)
CIE-LABlab(56.10, 63.60, -24.28)
CIE-LCHlch(56.10, 68.08, 339.11°)
OKLaboklab(64.78% 0.1893 -0.0652)
OKLCHoklch(64.78% 0.2 341)
XYZxyz(39.8927, 24.0082, 44.6439)
Luminance0.2401 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA51B2 #51DA79
analogous
#BD51DA #DA51B2 #DA516D
triadic
#DA51B2 #B2DA51 #51B2DA
tetradic
#DA51B2 #DABD51 #51DA79 #516DDA
square
#DA51B2 #DABD51 #51DA79 #516DDA
split-complementary
#DA51B2 #6DDA51 #51DABD
monochromatic
#921F70 #C42A97 #DA51B2 #E583C8 #EFB6DF

Accessibility & contrast

On white

3.62
#DA51B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#DA51B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DA51B2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA51B2#FFFFFF#000000##000000
##DA51B21.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A78B5
Deuteranopia (green-blind)
#838FAF
Tritanopia (blue-blind)
#E6537A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #da51b2;
/* rgb */ color: rgb(218, 81, 178);
/* oklch */ color: oklch(64.8% 0.200 341.0);
Tailwind
colors: {
  custom: {
    50: '#e98ac9',
    500: '#da51b2',
    950: '#000000',
  },
}
SCSS
$custom: #da51b2;
$custom-light: #e98ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#da51b2",
  "rgb": {
    "r": 218,
    "g": 81,
    "b": 178
  },
  "hsl": {
    "h": 317.518,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64779,
    "c": 0.20025,
    "h": 341
  },
  "luminance": 0.24005
}

Semantic roles & 50–950 ramp

primary
#DA51B2
secondary
#A8DEB8
accent
#E87140
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DA51B2

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

Preview Lab → · Contrast checker → · Palette generator →

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