#DB4870#DB4870

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

Color values

HEX#DB4870
RGBrgb(219, 72, 112)
HSLhsl(344, 67%, 57%)
HSVhsv(344, 67%, 86%)
CMYKcmyk(0%, 67.1%, 48.9%, 14.1%)
CIE-LABlab(52.81, 59.95, 9.81)
CIE-LCHlch(52.81, 60.74, 9.29°)
OKLaboklab(61.68% 0.1824 0.0254)
OKLCHoklch(61.68% 0.184 7.9)
XYZxyz(34.4582, 20.8691, 17.5397)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4870 #48DBB3
analogous
#DB48BA #DB4870 #DB6948
triadic
#DB4870 #70DB48 #4870DB
tetradic
#DB4870 #BADB48 #48DBB3 #6948DB
square
#DB4870 #BADB48 #48DBB3 #6948DB
split-complementary
#DB4870 #48DB69 #48BADB
monochromatic
#8D1C3B #C02650 #DB4870 #E57B98 #EFAEC0

Accessibility & contrast

On white

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

On black

5.17
#DB4870 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB4870
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB4870#FFFFFF#000000##000000
##DB48701.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A6B71
Deuteranopia (green-blind)
#90896C
Tritanopia (blue-blind)
#EE2F58
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #db4870;
/* rgb */ color: rgb(219, 72, 112);
/* oklch */ color: oklch(61.7% 0.184 7.9);
Tailwind
colors: {
  custom: {
    50: '#ec8498',
    500: '#db4870',
    950: '#000000',
  },
}
SCSS
$custom: #db4870;
$custom-light: #ec8498;
$custom-dark: #000000;
JSON
{
  "hex": "#db4870",
  "rgb": {
    "r": 219,
    "g": 72,
    "b": 112
  },
  "hsl": {
    "h": 343.673,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.6168,
    "c": 0.18418,
    "h": 7.9
  },
  "luminance": 0.20865
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB4870

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

Preview Lab → · Contrast checker → · Palette generator →

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