#DB5478#DB5478

#DB5478 is a light, vivid pink. Relative luminance 0.228; OKLCH L 63.2% C 0.171 H 7.0°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#DB5478
RGBrgb(219, 84, 120)
HSLhsl(344, 65%, 59%)
HSVhsv(344, 62%, 86%)
CMYKcmyk(0%, 61.6%, 45.2%, 14.1%)
CIE-LABlab(54.83, 55.73, 7.90)
CIE-LCHlch(54.83, 56.29, 8.07°)
OKLaboklab(63.25% 0.1696 0.0208)
OKLCHoklch(63.25% 0.171 7)
XYZxyz(35.7765, 22.7611, 20.2750)
Luminance0.2276 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5478 #54DBB7
analogous
#DB54BC #DB5478 #DB7454
triadic
#DB5478 #78DB54 #5478DB
tetradic
#DB5478 #BCDB54 #54DBB7 #7454DB
square
#DB5478 #BCDB54 #54DBB7 #7454DB
split-complementary
#DB5478 #54DB74 #54BCDB
monochromatic
#951F3F #C82A54 #DB5478 #E687A0 #F0B9C8

Accessibility & contrast

On white

3.78
#DB5478 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#DB5478 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB5478
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5478#FFFFFF#000000##000000
##DB54781.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#707279
Deuteranopia (green-blind)
#938D75
Tritanopia (blue-blind)
#ED4262
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #db5478;
/* rgb */ color: rgb(219, 84, 120);
/* oklch */ color: oklch(63.2% 0.171 7.0);
Tailwind
colors: {
  custom: {
    50: '#eb8b9e',
    500: '#db5478',
    950: '#000000',
  },
}
SCSS
$custom: #db5478;
$custom-light: #eb8b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#db5478",
  "rgb": {
    "r": 219,
    "g": 84,
    "b": 120
  },
  "hsl": {
    "h": 344,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.63248,
    "c": 0.17091,
    "h": 7
  },
  "luminance": 0.22757
}

Semantic roles & 50–950 ramp

primary
#DB5478
secondary
#ABE0D2
accent
#E8BB40
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #DB5478

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

Preview Lab → · Contrast checker → · Palette generator →

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