#DC51BF#DC51BF

#DC51BF is a light, highly saturated pink. Relative luminance 0.249; OKLCH L 65.6% C 0.210 H 336.9°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#DC51BF
RGBrgb(220, 81, 191)
HSLhsl(313, 67%, 59%)
HSVhsv(313, 63%, 86%)
CMYKcmyk(0%, 63.2%, 13.2%, 13.7%)
CIE-LABlab(56.94, 66.01, -30.44)
CIE-LCHlch(56.94, 72.69, 335.24°)
OKLaboklab(65.64% 0.1936 -0.0826)
OKLCHoklch(65.64% 0.21 336.9)
XYZxyz(41.8622, 24.8656, 51.8749)
Luminance0.2486 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51BF #51DC6E
analogous
#B451DC #DC51BF #DC517A
triadic
#DC51BF #BFDC51 #51BFDC
tetradic
#DC51BF #DCB451 #51DC6E #517ADC
square
#DC51BF #DCB451 #51DC6E #517ADC
split-complementary
#DC51BF #7ADC51 #51DCB4
monochromatic
#951E7C #C828A6 #DC51BF #E684D2 #F0B7E4

Accessibility & contrast

On white

3.52
#DC51BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#DC51BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51BF
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51BF#FFFFFF#000000##000000
##DC51BF1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#547BC2
Deuteranopia (green-blind)
#8090BB
Tritanopia (blue-blind)
#E75881
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #dc51bf;
/* rgb */ color: rgb(220, 81, 191);
/* oklch */ color: oklch(65.6% 0.210 336.9);
Tailwind
colors: {
  custom: {
    50: '#ea8bd2',
    500: '#dc51bf',
    950: '#000000',
  },
}
SCSS
$custom: #dc51bf;
$custom-light: #ea8bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51bf",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 312.518,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65637,
    "c": 0.21047,
    "h": 336.9
  },
  "luminance": 0.24862
}

Semantic roles & 50–950 ramp

primary
#DC51BF
secondary
#A9E0B5
accent
#E9623E
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170D14
muted
#857D82

Preview Lab

Preview with #DC51BF

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

Preview Lab → · Contrast checker → · Palette generator →

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