#DB4777#DB4777

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

Color values

HEX#DB4777
RGBrgb(219, 71, 119)
HSLhsl(341, 67%, 57%)
HSVhsv(341, 68%, 86%)
CMYKcmyk(0%, 67.6%, 45.7%, 14.1%)
CIE-LABlab(52.84, 60.96, 5.67)
CIE-LCHlch(52.84, 61.22, 5.31°)
OKLaboklab(61.77% 0.1862 0.0152)
OKLCHoklch(61.77% 0.187 4.7)
XYZxyz(34.7991, 20.9029, 19.6513)
Luminance0.2090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4777 #47DBAB
analogous
#DB47C1 #DB4777 #DB6147
triadic
#DB4777 #77DB47 #4777DB
tetradic
#DB4777 #C1DB47 #47DBAB #6147DB
square
#DB4777 #C1DB47 #47DBAB #6147DB
split-complementary
#DB4777 #47DB61 #47C1DB
monochromatic
#8C1B40 #BF2557 #DB4777 #E57A9D #EFADC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DB4777#FFFFFF#000000##000000
##DB47771.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)
#676C78
Deuteranopia (green-blind)
#8E8974
Tritanopia (blue-blind)
#EE315A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #db4777;
/* rgb */ color: rgb(219, 71, 119);
/* oklch */ color: oklch(61.8% 0.187 4.7);
Tailwind
colors: {
  custom: {
    50: '#ec849e',
    500: '#db4777',
    950: '#000000',
  },
}
SCSS
$custom: #db4777;
$custom-light: #ec849e;
$custom-dark: #000000;
JSON
{
  "hex": "#db4777",
  "rgb": {
    "r": 219,
    "g": 71,
    "b": 119
  },
  "hsl": {
    "h": 340.541,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61765,
    "c": 0.18679,
    "h": 4.7
  },
  "luminance": 0.20898
}

Semantic roles & 50–950 ramp

primary
#DB4777
secondary
#A1DDCA
accent
#EAB23E
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #DB4777

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

Preview Lab → · Contrast checker → · Palette generator →

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