#DB4874#DB4874

#DB4874 is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.8% C 0.185 H 6.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#DB4874
RGBrgb(219, 72, 116)
HSLhsl(342, 67%, 57%)
HSVhsv(342, 67%, 86%)
CMYKcmyk(0%, 67.1%, 47%, 14.1%)
CIE-LABlab(52.91, 60.30, 7.56)
CIE-LCHlch(52.91, 60.77, 7.14°)
OKLaboklab(61.79% 0.1839 0.0199)
OKLCHoklch(61.79% 0.185 6.2)
XYZxyz(34.6859, 20.9602, 18.7388)
Luminance0.2096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4874 #48DBAF
analogous
#DB48BD #DB4874 #DB6648
triadic
#DB4874 #74DB48 #4874DB
tetradic
#DB4874 #BDDB48 #48DBAF #6648DB
square
#DB4874 #BDDB48 #48DBAF #6648DB
split-complementary
#DB4874 #48DB66 #48BDDB
monochromatic
#8D1C3E #C02654 #DB4874 #E57B9B #EFAEC2

Accessibility & contrast

On white

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

On black

5.19
#DB4874 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB4874
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB4874#FFFFFF#000000##000000
##DB48741.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#696C75
Deuteranopia (green-blind)
#8F8971
Tritanopia (blue-blind)
#EE315A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #db4874;
/* rgb */ color: rgb(219, 72, 116);
/* oklch */ color: oklch(61.8% 0.185 6.2);
Tailwind
colors: {
  custom: {
    50: '#ec849b',
    500: '#db4874',
    950: '#000000',
  },
}
SCSS
$custom: #db4874;
$custom-light: #ec849b;
$custom-dark: #000000;
JSON
{
  "hex": "#db4874",
  "rgb": {
    "r": 219,
    "g": 72,
    "b": 116
  },
  "hsl": {
    "h": 342.041,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61787,
    "c": 0.18494,
    "h": 6.2
  },
  "luminance": 0.20956
}

Semantic roles & 50–950 ramp

primary
#DB4874
secondary
#A2DDCB
accent
#EAB63E
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #DB4874

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

Preview Lab → · Contrast checker → · Palette generator →

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