#DB4978#DB4978

#DB4978 is a light, vivid pink. Relative luminance 0.212; OKLCH L 62.0% C 0.185 H 4.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#DB4978
RGBrgb(219, 73, 120)
HSLhsl(341, 67%, 57%)
HSVhsv(341, 67%, 86%)
CMYKcmyk(0%, 66.7%, 45.2%, 14.1%)
CIE-LABlab(53.15, 60.27, 5.51)
CIE-LCHlch(53.15, 60.53, 5.23°)
OKLaboklab(62% 0.1841 0.0148)
OKLCHoklch(62% 0.185 4.6)
XYZxyz(34.9888, 21.1856, 20.0124)
Luminance0.2118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4978 #49DBAC
analogous
#DB49C1 #DB4978 #DB6349
triadic
#DB4978 #78DB49 #4978DB
tetradic
#DB4978 #C1DB49 #49DBAC #6349DB
square
#DB4978 #C1DB49 #49DBAC #6349DB
split-complementary
#DB4978 #49DB63 #49C1DB
monochromatic
#8E1C41 #C12658 #DB4978 #E57C9E #EFAFC4

Accessibility & contrast

On white

4.01
#DB4978 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#DB4978 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB4978
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB4978#FFFFFF#000000##000000
##DB49781.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#686D79
Deuteranopia (green-blind)
#8F8975
Tritanopia (blue-blind)
#ED345C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #db4978;
/* rgb */ color: rgb(219, 73, 120);
/* oklch */ color: oklch(62.0% 0.185 4.6);
Tailwind
colors: {
  custom: {
    50: '#ec859e',
    500: '#db4978',
    950: '#000000',
  },
}
SCSS
$custom: #db4978;
$custom-light: #ec859e;
$custom-dark: #000000;
JSON
{
  "hex": "#db4978",
  "rgb": {
    "r": 219,
    "g": 73,
    "b": 120
  },
  "hsl": {
    "h": 340.685,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62003,
    "c": 0.18465,
    "h": 4.6
  },
  "luminance": 0.21181
}

Semantic roles & 50–950 ramp

primary
#DB4978
secondary
#A2DDCA
accent
#EAB33E
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #DB4978

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

Preview Lab → · Contrast checker → · Palette generator →

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