#DF5178#DF5178

#DF5178 is a light, vivid pink. Relative luminance 0.229; OKLCH L 63.5% C 0.179 H 7.0°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#DF5178
RGBrgb(223, 81, 120)
HSLhsl(344, 69%, 60%)
HSVhsv(344, 64%, 87%)
CMYKcmyk(0%, 63.7%, 46.2%, 12.5%)
CIE-LABlab(55.00, 58.26, 8.25)
CIE-LCHlch(55.00, 58.84, 8.06°)
OKLaboklab(63.51% 0.1774 0.0216)
OKLCHoklch(63.51% 0.179 7)
XYZxyz(36.7668, 22.9334, 20.2561)
Luminance0.2293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF5178 #51DFB8
analogous
#DF51BF #DF5178 #DF7151
triadic
#DF5178 #78DF51 #5178DF
tetradic
#DF5178 #BFDF51 #51DFB8 #7151DF
square
#DF5178 #BFDF51 #51DFB8 #7151DF
split-complementary
#DF5178 #51DF71 #51BFDF
monochromatic
#991C3F #CD2654 #DF5178 #E985A0 #F2B8C8

Accessibility & contrast

On white

3.76
#DF5178 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#DF5178 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF5178
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF5178#FFFFFF#000000##000000
##DF51781.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#707279
Deuteranopia (green-blind)
#958E75
Tritanopia (blue-blind)
#F23D60
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #df5178;
/* rgb */ color: rgb(223, 81, 120);
/* oklch */ color: oklch(63.5% 0.179 7.0);
Tailwind
colors: {
  custom: {
    50: '#ee899e',
    500: '#df5178',
    950: '#000000',
  },
}
SCSS
$custom: #df5178;
$custom-light: #ee899e;
$custom-dark: #000000;
JSON
{
  "hex": "#df5178",
  "rgb": {
    "r": 223,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 343.521,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.63506,
    "c": 0.17872,
    "h": 7
  },
  "luminance": 0.22929
}

Semantic roles & 50–950 ramp

primary
#DF5178
secondary
#AAE1D2
accent
#ECBC3C
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #DF5178

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

Preview Lab → · Contrast checker → · Palette generator →

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