#DB4871#DB4871

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

Color values

HEX#DB4871
RGBrgb(219, 72, 113)
HSLhsl(343, 67%, 57%)
HSVhsv(343, 67%, 86%)
CMYKcmyk(0%, 67.1%, 48.4%, 14.1%)
CIE-LABlab(52.83, 60.03, 9.24)
CIE-LCHlch(52.83, 60.74, 8.75°)
OKLaboklab(61.71% 0.1828 0.0241)
OKLCHoklch(61.71% 0.184 7.5)
XYZxyz(34.5142, 20.8915, 17.8345)
Luminance0.2089 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4871 #48DBB2
analogous
#DB48BB #DB4871 #DB6948
triadic
#DB4871 #71DB48 #4871DB
tetradic
#DB4871 #BBDB48 #48DBB2 #6948DB
square
#DB4871 #BBDB48 #48DBB2 #6948DB
split-complementary
#DB4871 #48DB69 #48BBDB
monochromatic
#8D1C3B #C02651 #DB4871 #E57B99 #EFAEC0

Accessibility & contrast

On white

4.06
#DB4871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##DB4871#FFFFFF#000000##000000
##DB48711.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#696B72
Deuteranopia (green-blind)
#90896D
Tritanopia (blue-blind)
#EE3058
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #db4871;
/* rgb */ color: rgb(219, 72, 113);
/* oklch */ color: oklch(61.7% 0.184 7.5);
Tailwind
colors: {
  custom: {
    50: '#ec8499',
    500: '#db4871',
    950: '#000000',
  },
}
SCSS
$custom: #db4871;
$custom-light: #ec8499;
$custom-dark: #000000;
JSON
{
  "hex": "#db4871",
  "rgb": {
    "r": 219,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 343.265,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61706,
    "c": 0.18436,
    "h": 7.5
  },
  "luminance": 0.20887
}

Semantic roles & 50–950 ramp

primary
#DB4871
secondary
#A2DDCD
accent
#EABA3E
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#170C0D
muted
#857D7E

Preview Lab

Preview with #DB4871

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

Preview Lab → · Contrast checker → · Palette generator →

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