#DB478B#DB478B

#DB478B is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.4% C 0.193 H 356.0°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#DB478B
RGBrgb(219, 71, 139)
HSLhsl(332, 67%, 57%)
HSVhsv(332, 68%, 86%)
CMYKcmyk(0%, 67.6%, 36.5%, 14.1%)
CIE-LABlab(53.42, 62.96, -5.42)
CIE-LCHlch(53.42, 63.20, 355.08°)
OKLaboklab(62.38% 0.1928 -0.0135)
OKLCHoklch(62.38% 0.193 356)
XYZxyz(36.1291, 21.4348, 26.6558)
Luminance0.2143 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB478B #47DB97
analogous
#DB47D5 #DB478B #DB4D47
triadic
#DB478B #8BDB47 #478BDB
tetradic
#DB478B #D5DB47 #47DB97 #4D47DB
square
#DB478B #D5DB47 #47DB97 #4D47DB
split-complementary
#DB478B #47DB4D #47D5DB
monochromatic
#8C1B4F #BF256C #DB478B #E57AAB #EFADCC

Accessibility & contrast

On white

3.97
#DB478B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#DB478B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB478B
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB478B#FFFFFF#000000##000000
##DB478B1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#626E8D
Deuteranopia (green-blind)
#8A8A88
Tritanopia (blue-blind)
#EC3963
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #db478b;
/* rgb */ color: rgb(219, 71, 139);
/* oklch */ color: oklch(62.4% 0.193 356.0);
Tailwind
colors: {
  custom: {
    50: '#eb84ac',
    500: '#db478b',
    950: '#000000',
  },
}
SCSS
$custom: #db478b;
$custom-light: #eb84ac;
$custom-dark: #000000;
JSON
{
  "hex": "#db478b",
  "rgb": {
    "r": 219,
    "g": 71,
    "b": 139
  },
  "hsl": {
    "h": 332.432,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62383,
    "c": 0.19324,
    "h": 356
  },
  "luminance": 0.21431
}

Semantic roles & 50–950 ramp

primary
#DB478B
secondary
#A1DDC1
accent
#EA9B3E
background
#FFF8FA
surface
#FEF0F4
border
#D6CBCE
text
#170C10
muted
#857D7F

Preview Lab

Preview with #DB478B

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

Preview Lab → · Contrast checker → · Palette generator →

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