#DF5281#DF5281

#DF5281 is a light, vivid pink. Relative luminance 0.233; OKLCH L 63.9% C 0.180 H 3.1°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#DF5281
RGBrgb(223, 82, 129)
HSLhsl(340, 69%, 60%)
HSVhsv(340, 63%, 87%)
CMYKcmyk(0%, 63.2%, 42.2%, 12.5%)
CIE-LABlab(55.39, 58.71, 3.47)
CIE-LCHlch(55.39, 58.82, 3.39°)
OKLaboklab(63.87% 0.1793 0.0096)
OKLCHoklch(63.87% 0.18 3.1)
XYZxyz(37.4138, 23.3120, 23.2940)
Luminance0.2331 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5281 #52DFB0
analogous
#DF52C7 #DF5281 #DF6A52
triadic
#DF5281 #81DF52 #5281DF
tetradic
#DF5281 #C7DF52 #52DFB0 #6A52DF
square
#DF5281 #C7DF52 #52DFB0 #6A52DF
split-complementary
#DF5281 #52DF6A #52C7DF
monochromatic
#9A1D46 #CE265E #DF5281 #E986A7 #F2B9CC

Accessibility & contrast

On white

3.71
#DF5281 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#DF5281 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF5281
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5281#FFFFFF#000000##000000
##DF52811.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7382
Deuteranopia (green-blind)
#938F7E
Tritanopia (blue-blind)
#F14164
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #df5281;
/* rgb */ color: rgb(223, 82, 129);
/* oklch */ color: oklch(63.9% 0.180 3.1);
Tailwind
colors: {
  custom: {
    50: '#ee8aa5',
    500: '#df5281',
    950: '#000000',
  },
}
SCSS
$custom: #df5281;
$custom-light: #ee8aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#df5281",
  "rgb": {
    "r": 223,
    "g": 82,
    "b": 129
  },
  "hsl": {
    "h": 340,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63872,
    "c": 0.17956,
    "h": 3.1
  },
  "luminance": 0.23308
}

Semantic roles & 50–950 ramp

primary
#DF5281
secondary
#ABE2CF
accent
#ECB13C
background
#FFF8FA
surface
#FFF0F4
border
#D7CBCE
text
#170C0F
muted
#857D7F

Preview Lab

Preview with #DF5281

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

Preview Lab → · Contrast checker → · Palette generator →

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