#DB4778#DB4778

#DB4778 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.8% C 0.187 H 4.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#DB4778
RGBrgb(219, 71, 120)
HSLhsl(340, 67%, 57%)
HSVhsv(340, 68%, 86%)
CMYKcmyk(0%, 67.6%, 45.2%, 14.1%)
CIE-LABlab(52.87, 61.05, 5.11)
CIE-LCHlch(52.87, 61.26, 4.78°)
OKLaboklab(61.79% 0.1865 0.0138)
OKLCHoklch(61.79% 0.187 4.2)
XYZxyz(34.8595, 20.9270, 19.9693)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4778 #47DBAA
analogous
#DB47C2 #DB4778 #DB6047
triadic
#DB4778 #78DB47 #4778DB
tetradic
#DB4778 #C2DB47 #47DBAA #6047DB
square
#DB4778 #C2DB47 #47DBAA #6047DB
split-complementary
#DB4778 #47DB60 #47C2DB
monochromatic
#8C1B41 #BF2558 #DB4778 #E57A9E #EFADC3

Accessibility & contrast

On white

4.05
#DB4778 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#DB4778 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB4778
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB4778#FFFFFF#000000##000000
##DB47781.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#676C79
Deuteranopia (green-blind)
#8E8975
Tritanopia (blue-blind)
#EE315B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #db4778;
/* rgb */ color: rgb(219, 71, 120);
/* oklch */ color: oklch(61.8% 0.187 4.2);
Tailwind
colors: {
  custom: {
    50: '#ec849e',
    500: '#db4778',
    950: '#000000',
  },
}
SCSS
$custom: #db4778;
$custom-light: #ec849e;
$custom-dark: #000000;
JSON
{
  "hex": "#db4778",
  "rgb": {
    "r": 219,
    "g": 71,
    "b": 120
  },
  "hsl": {
    "h": 340.135,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61794,
    "c": 0.18704,
    "h": 4.2
  },
  "luminance": 0.20923
}

Semantic roles & 50–950 ramp

primary
#DB4778
secondary
#A1DDC9
accent
#EAB13E
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #DB4778

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

Preview Lab → · Contrast checker → · Palette generator →

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