#DB3179#DB3179

#DB3179 is a mid, highly saturated pink. Relative luminance 0.186; OKLCH L 59.9% C 0.210 H 0.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#DB3179
RGBrgb(219, 49, 121)
HSLhsl(335, 70%, 53%)
HSVhsv(335, 78%, 86%)
CMYKcmyk(0%, 77.6%, 44.7%, 14.1%)
CIE-LABlab(50.27, 68.49, 0.74)
CIE-LCHlch(50.27, 68.50, 0.62°)
OKLaboklab(59.88% 0.2104 0.0027)
OKLCHoklch(59.88% 0.21 0.7)
XYZxyz(33.7656, 18.6417, 19.9056)
Luminance0.1864 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB3179 #31DB93
analogous
#DB31CE #DB3179 #DB3E31
triadic
#DB3179 #79DB31 #3179DB
tetradic
#DB3179 #CEDB31 #31DB93 #3E31DB
square
#DB3179 #CEDB31 #31DB93 #3E31DB
split-complementary
#DB3179 #31DB3E #31CEDB
monochromatic
#7C1641 #B01F5C #DB3179 #E4659B #ED99BD

Accessibility & contrast

On white

4.44
#DB3179 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#DB3179 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB3179
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB3179#FFFFFF#000000##000000
##DB31791.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#59637B
Deuteranopia (green-blind)
#878375
Tritanopia (blue-blind)
#EE0451
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #db3179;
/* rgb */ color: rgb(219, 49, 121);
/* oklch */ color: oklch(59.9% 0.210 0.7);
Tailwind
colors: {
  custom: {
    50: '#ec7a9f',
    500: '#db3179',
    950: '#000000',
  },
}
SCSS
$custom: #db3179;
$custom-light: #ec7a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#db3179",
  "rgb": {
    "r": 219,
    "g": 49,
    "b": 121
  },
  "hsl": {
    "h": 334.588,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59883,
    "c": 0.21041,
    "h": 0.7
  },
  "luminance": 0.18637
}

Semantic roles & 50–950 ramp

primary
#DB3179
secondary
#8FD9BA
accent
#EDA23B
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #DB3179

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

Preview Lab → · Contrast checker → · Palette generator →

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