#DB478E#DB478E

#DB478E is a light, vivid pink. Relative luminance 0.215; OKLCH L 62.5% C 0.194 H 354.7°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#DB478E
RGBrgb(219, 71, 142)
HSLhsl(331, 67%, 57%)
HSVhsv(331, 68%, 86%)
CMYKcmyk(0%, 67.6%, 35.2%, 14.1%)
CIE-LABlab(53.52, 63.29, -7.06)
CIE-LCHlch(53.52, 63.68, 353.63°)
OKLaboklab(62.49% 0.1937 -0.0178)
OKLCHoklch(62.49% 0.194 354.7)
XYZxyz(36.3513, 21.5237, 27.8261)
Luminance0.2152 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB478E #47DB94
analogous
#DB47D8 #DB478E #DB4A47
triadic
#DB478E #8EDB47 #478EDB
tetradic
#DB478E #D8DB47 #47DB94 #4A47DB
square
#DB478E #D8DB47 #47DB94 #4A47DB
split-complementary
#DB478E #47DB4A #47D8DB
monochromatic
#8C1B52 #BF256F #DB478E #E57AAD #EFADCD

Accessibility & contrast

On white

3.96
#DB478E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#DB478E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB478E
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB478E#FFFFFF#000000##000000
##DB478E1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#616F90
Deuteranopia (green-blind)
#8A8A8B
Tritanopia (blue-blind)
#EC3B65
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #db478e;
/* rgb */ color: rgb(219, 71, 142);
/* oklch */ color: oklch(62.5% 0.194 354.7);
Tailwind
colors: {
  custom: {
    50: '#eb84af',
    500: '#db478e',
    950: '#000000',
  },
}
SCSS
$custom: #db478e;
$custom-light: #eb84af;
$custom-dark: #000000;
JSON
{
  "hex": "#db478e",
  "rgb": {
    "r": 219,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 331.216,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62485,
    "c": 0.19448,
    "h": 354.7
  },
  "luminance": 0.2152
}

Semantic roles & 50–950 ramp

primary
#DB478E
secondary
#A1DDC0
accent
#EA973E
background
#FFF8FA
surface
#FEF0F4
border
#D6CBCE
text
#170C10
muted
#857D7F

Preview Lab

Preview with #DB478E

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

Preview Lab → · Contrast checker → · Palette generator →

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