#DB4872#DB4872

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

Color values

HEX#DB4872
RGBrgb(219, 72, 114)
HSLhsl(343, 67%, 57%)
HSVhsv(343, 67%, 86%)
CMYKcmyk(0%, 67.1%, 47.9%, 14.1%)
CIE-LABlab(52.86, 60.12, 8.68)
CIE-LCHlch(52.86, 60.74, 8.22°)
OKLaboklab(61.73% 0.1831 0.0227)
OKLCHoklch(61.73% 0.185 7.1)
XYZxyz(34.5708, 20.9141, 18.1327)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4872 #48DBB1
analogous
#DB48BC #DB4872 #DB6848
triadic
#DB4872 #72DB48 #4872DB
tetradic
#DB4872 #BCDB48 #48DBB1 #6848DB
square
#DB4872 #BCDB48 #48DBB1 #6848DB
split-complementary
#DB4872 #48DB68 #48BCDB
monochromatic
#8D1C3C #C02652 #DB4872 #E57B99 #EFAEC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DB4872#FFFFFF#000000##000000
##DB48721.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)
#696C73
Deuteranopia (green-blind)
#90896F
Tritanopia (blue-blind)
#EE3059
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #db4872;
/* rgb */ color: rgb(219, 72, 114);
/* oklch */ color: oklch(61.7% 0.185 7.1);
Tailwind
colors: {
  custom: {
    50: '#ec849a',
    500: '#db4872',
    950: '#000000',
  },
}
SCSS
$custom: #db4872;
$custom-light: #ec849a;
$custom-dark: #000000;
JSON
{
  "hex": "#db4872",
  "rgb": {
    "r": 219,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 342.857,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61733,
    "c": 0.18454,
    "h": 7.1
  },
  "luminance": 0.2091
}

Semantic roles & 50–950 ramp

primary
#DB4872
secondary
#A2DDCC
accent
#EAB93E
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #DB4872

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

Preview Lab → · Contrast checker → · Palette generator →

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