#DF5A8D#DF5A8D

#DF5A8D is a light, vivid pink. Relative luminance 0.249; OKLCH L 65.2% C 0.173 H 359.2°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#DF5A8D
RGBrgb(223, 90, 141)
HSLhsl(337, 68%, 61%)
HSVhsv(337, 60%, 87%)
CMYKcmyk(0%, 59.6%, 36.8%, 12.5%)
CIE-LABlab(57.00, 56.54, -1.25)
CIE-LCHlch(57.00, 56.56, 358.74°)
OKLaboklab(65.18% 0.1726 -0.0026)
OKLCHoklch(65.18% 0.173 359.2)
XYZxyz(38.8976, 24.9276, 27.9572)
Luminance0.2492 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5A8D #5ADFAC
analogous
#DF5AD0 #DF5A8D #DF6A5A
triadic
#DF5A8D #8DDF5A #5A8DDF
tetradic
#DF5A8D #D0DF5A #5ADFAC #6A5ADF
square
#DF5A8D #D0DF5A #5ADFAC #6A5ADF
split-complementary
#DF5A8D #5ADF6A #5AD0DF
monochromatic
#A01F50 #D3296A #DF5A8D #E98DB0 #F3C1D4

Accessibility & contrast

On white

3.51
#DF5A8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#DF5A8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF5A8D
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5A8D#FFFFFF#000000##000000
##DF5A8D1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#71798E
Deuteranopia (green-blind)
#94928A
Tritanopia (blue-blind)
#F04E6E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #df5a8d;
/* rgb */ color: rgb(223, 90, 141);
/* oklch */ color: oklch(65.2% 0.173 359.2);
Tailwind
colors: {
  custom: {
    50: '#ed8fae',
    500: '#df5a8d',
    950: '#000000',
  },
}
SCSS
$custom: #df5a8d;
$custom-light: #ed8fae;
$custom-dark: #000000;
JSON
{
  "hex": "#df5a8d",
  "rgb": {
    "r": 223,
    "g": 90,
    "b": 141
  },
  "hsl": {
    "h": 336.992,
    "s": 67.513,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65183,
    "c": 0.17257,
    "h": 359.2
  },
  "luminance": 0.24923
}

Semantic roles & 50–950 ramp

primary
#DF5A8D
secondary
#B2E3D0
accent
#CF8816
background
#FFF9FA
surface
#FEF1F4
border
#D6CBCE
text
#170D10
muted
#857E7F

Preview Lab

Preview with #DF5A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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