#DB3178#DB3178

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

Color values

HEX#DB3178
RGBrgb(219, 49, 120)
HSLhsl(335, 70%, 53%)
HSVhsv(335, 78%, 86%)
CMYKcmyk(0%, 77.6%, 45.2%, 14.1%)
CIE-LABlab(50.24, 68.40, 1.30)
CIE-LCHlch(50.24, 68.42, 1.09°)
OKLaboklab(59.85% 0.2101 0.0041)
OKLCHoklch(59.85% 0.21 1.1)
XYZxyz(33.7046, 18.6173, 19.5843)
Luminance0.1861 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB3178 #31DB94
analogous
#DB31CD #DB3178 #DB3F31
triadic
#DB3178 #78DB31 #3178DB
tetradic
#DB3178 #CDDB31 #31DB94 #3F31DB
square
#DB3178 #CDDB31 #31DB94 #3F31DB
split-complementary
#DB3178 #31DB3F #31CDDB
monochromatic
#7C1640 #B01F5B #DB3178 #E4659A #ED99BC

Accessibility & contrast

On white

4.45
#DB3178 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#DB3178 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB3178
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB3178#FFFFFF#000000##000000
##DB31781.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A637A
Deuteranopia (green-blind)
#878374
Tritanopia (blue-blind)
#EE0351
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #db3178;
/* rgb */ color: rgb(219, 49, 120);
/* oklch */ color: oklch(59.9% 0.210 1.1);
Tailwind
colors: {
  custom: {
    50: '#ec7a9e',
    500: '#db3178',
    950: '#000000',
  },
}
SCSS
$custom: #db3178;
$custom-light: #ec7a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#db3178",
  "rgb": {
    "r": 219,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 334.941,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59852,
    "c": 0.21011,
    "h": 1.1
  },
  "luminance": 0.18613
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB3178

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

Preview Lab → · Contrast checker → · Palette generator →

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