#DC51BC#DC51BC

#DC51BC is a light, highly saturated pink. Relative luminance 0.247; OKLCH L 65.5% C 0.208 H 337.9°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#DC51BC
RGBrgb(220, 81, 188)
HSLhsl(314, 67%, 59%)
HSVhsv(314, 63%, 86%)
CMYKcmyk(0%, 63.2%, 14.5%, 13.7%)
CIE-LABlab(56.82, 65.57, -28.91)
CIE-LCHlch(56.82, 71.66, 336.20°)
OKLaboklab(65.5% 0.1931 -0.0782)
OKLCHoklch(65.5% 0.208 337.9)
XYZxyz(41.5354, 24.7349, 50.1540)
Luminance0.2473 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC51BC #51DC71
analogous
#B751DC #DC51BC #DC5177
triadic
#DC51BC #BCDC51 #51BCDC
tetradic
#DC51BC #DCB751 #51DC71 #5177DC
square
#DC51BC #DCB751 #51DC71 #5177DC
split-complementary
#DC51BC #77DC51 #51DCB7
monochromatic
#951E79 #C828A3 #DC51BC #E684D0 #F0B7E3

Accessibility & contrast

On white

3.53
#DC51BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#DC51BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC51BC
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC51BC#FFFFFF#000000##000000
##DC51BC1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#567BBF
Deuteranopia (green-blind)
#8190B9
Tritanopia (blue-blind)
#E7577F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #dc51bc;
/* rgb */ color: rgb(220, 81, 188);
/* oklch */ color: oklch(65.5% 0.208 337.9);
Tailwind
colors: {
  custom: {
    50: '#ea8bd0',
    500: '#dc51bc',
    950: '#000000',
  },
}
SCSS
$custom: #dc51bc;
$custom-light: #ea8bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#dc51bc",
  "rgb": {
    "r": 220,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 313.813,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65501,
    "c": 0.20837,
    "h": 337.9
  },
  "luminance": 0.24731
}

Semantic roles & 50–950 ramp

primary
#DC51BC
secondary
#A9E0B6
accent
#E9663E
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170D14
muted
#857D82

Preview Lab

Preview with #DC51BC

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

Preview Lab → · Contrast checker → · Palette generator →

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