#DF5A8A#DF5A8A

#DF5A8A is a light, vivid pink. Relative luminance 0.248; OKLCH L 65.1% C 0.172 H 0.6°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#DF5A8A
RGBrgb(223, 90, 138)
HSLhsl(338, 68%, 61%)
HSVhsv(338, 60%, 87%)
CMYKcmyk(0%, 59.6%, 38.1%, 12.5%)
CIE-LABlab(56.92, 56.21, 0.39)
CIE-LCHlch(56.92, 56.21, 0.39°)
OKLaboklab(65.09% 0.1716 0.0017)
OKLCHoklch(65.09% 0.172 0.6)
XYZxyz(38.6774, 24.8395, 26.7975)
Luminance0.2483 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5A8A #5ADFAF
analogous
#DF5ACD #DF5A8A #DF6D5A
triadic
#DF5A8A #8ADF5A #5A8ADF
tetradic
#DF5A8A #CDDF5A #5ADFAF #6D5ADF
square
#DF5A8A #CDDF5A #5ADFAF #6D5ADF
split-complementary
#DF5A8A #5ADF6D #5ACDDF
monochromatic
#A01F4D #D32966 #DF5A8A #E98DAE #F3C1D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DF5A8A#FFFFFF#000000##000000
##DF5A8A1.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)
#72798B
Deuteranopia (green-blind)
#959287
Tritanopia (blue-blind)
#F04D6C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #df5a8a;
/* rgb */ color: rgb(223, 90, 138);
/* oklch */ color: oklch(65.1% 0.172 0.6);
Tailwind
colors: {
  custom: {
    50: '#ed8fac',
    500: '#df5a8a',
    950: '#000000',
  },
}
SCSS
$custom: #df5a8a;
$custom-light: #ed8fac;
$custom-dark: #000000;
JSON
{
  "hex": "#df5a8a",
  "rgb": {
    "r": 223,
    "g": 90,
    "b": 138
  },
  "hsl": {
    "h": 338.346,
    "s": 67.513,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6509,
    "c": 0.17156,
    "h": 0.6
  },
  "luminance": 0.24835
}

Semantic roles & 50–950 ramp

primary
#DF5A8A
secondary
#B2E3D1
accent
#CF8D16
background
#FFF9FA
surface
#FEF1F4
border
#D6CBCE
text
#170D10
muted
#857E7F

Preview Lab

Preview with #DF5A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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