#DB4877#DB4877

#DB4877 is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.9% C 0.186 H 4.8°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#DB4877
RGBrgb(219, 72, 119)
HSLhsl(341, 67%, 57%)
HSVhsv(341, 67%, 86%)
CMYKcmyk(0%, 67.1%, 45.7%, 14.1%)
CIE-LABlab(52.98, 60.57, 5.87)
CIE-LCHlch(52.98, 60.86, 5.54°)
OKLaboklab(61.87% 0.1849 0.0157)
OKLCHoklch(61.87% 0.186 4.8)
XYZxyz(34.8632, 21.0311, 19.6727)
Luminance0.2103 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4877 #48DBAC
analogous
#DB48C1 #DB4877 #DB6348
triadic
#DB4877 #77DB48 #4877DB
tetradic
#DB4877 #C1DB48 #48DBAC #6348DB
square
#DB4877 #C1DB48 #48DBAC #6348DB
split-complementary
#DB4877 #48DB63 #48C1DB
monochromatic
#8D1C40 #C02657 #DB4877 #E57B9D #EFAEC3

Accessibility & contrast

On white

4.03
#DB4877 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#DB4877 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB4877
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB4877#FFFFFF#000000##000000
##DB48771.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#686C78
Deuteranopia (green-blind)
#8F8974
Tritanopia (blue-blind)
#EE325B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #db4877;
/* rgb */ color: rgb(219, 72, 119);
/* oklch */ color: oklch(61.9% 0.186 4.8);
Tailwind
colors: {
  custom: {
    50: '#ec849e',
    500: '#db4877',
    950: '#000000',
  },
}
SCSS
$custom: #db4877;
$custom-light: #ec849e;
$custom-dark: #000000;
JSON
{
  "hex": "#db4877",
  "rgb": {
    "r": 219,
    "g": 72,
    "b": 119
  },
  "hsl": {
    "h": 340.816,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.6187,
    "c": 0.1856,
    "h": 4.8
  },
  "luminance": 0.21027
}

Semantic roles & 50–950 ramp

primary
#DB4877
secondary
#A2DDCA
accent
#EAB33E
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #DB4877

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

Preview Lab → · Contrast checker → · Palette generator →

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