#DF52BD#DF52BD

#DF52BD is a light, highly saturated pink. Relative luminance 0.254; OKLCH L 66.1% C 0.210 H 338.5°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#DF52BD
RGBrgb(223, 82, 189)
HSLhsl(314, 69%, 60%)
HSVhsv(314, 63%, 87%)
CMYKcmyk(0%, 63.2%, 15.2%, 12.5%)
CIE-LABlab(57.46, 66.09, -28.45)
CIE-LCHlch(57.46, 71.96, 336.71°)
OKLaboklab(66.08% 0.1951 -0.0769)
OKLCHoklch(66.08% 0.21 338.5)
XYZxyz(42.6348, 25.4004, 50.7916)
Luminance0.2540 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF52BD #52DF74
analogous
#BA52DF #DF52BD #DF5277
triadic
#DF52BD #BDDF52 #52BDDF
tetradic
#DF52BD #DFBA52 #52DF74 #5277DF
square
#DF52BD #DFBA52 #52DF74 #5277DF
split-complementary
#DF52BD #77DF52 #52DFBA
monochromatic
#9A1D7C #CE26A5 #DF52BD #E986D1 #F2B9E4

Accessibility & contrast

On white

3.45
#DF52BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#DF52BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF52BD
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF52BD#FFFFFF#000000##000000
##DF52BD1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#587CC0
Deuteranopia (green-blind)
#8392B9
Tritanopia (blue-blind)
#EB5780
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #df52bd;
/* rgb */ color: rgb(223, 82, 189);
/* oklch */ color: oklch(66.1% 0.210 338.5);
Tailwind
colors: {
  custom: {
    50: '#ec8bd1',
    500: '#df52bd',
    950: '#000000',
  },
}
SCSS
$custom: #df52bd;
$custom-light: #ec8bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#df52bd",
  "rgb": {
    "r": 223,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 314.468,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.66078,
    "c": 0.20971,
    "h": 338.5
  },
  "luminance": 0.25397
}

Semantic roles & 50–950 ramp

primary
#DF52BD
secondary
#ABE2B8
accent
#EC663C
background
#FEF9FC
surface
#FDF1F9
border
#D5CBD2
text
#170D14
muted
#857E82

Preview Lab

Preview with #DF52BD

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

Preview Lab → · Contrast checker → · Palette generator →

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