#DB4178#DB4178

#DB4178 is a mid, vivid pink. Relative luminance 0.202; OKLCH L 61.2% C 0.194 H 3.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#DB4178
RGBrgb(219, 65, 120)
HSLhsl(339, 68%, 56%)
HSVhsv(339, 70%, 86%)
CMYKcmyk(0%, 70.3%, 45.2%, 14.1%)
CIE-LABlab(52.06, 63.28, 3.95)
CIE-LCHlch(52.06, 63.40, 3.57°)
OKLaboklab(61.2% 0.1936 0.0108)
OKLCHoklch(61.2% 0.194 3.2)
XYZxyz(34.4966, 20.2012, 19.8483)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4178 #41DBA4
analogous
#DB41C5 #DB4178 #DB5741
triadic
#DB4178 #78DB41 #4178DB
tetradic
#DB4178 #C5DB41 #41DBA4 #5741DB
square
#DB4178 #C5DB41 #41DBA4 #5741DB
split-complementary
#DB4178 #41DB57 #41C5DB
monochromatic
#881A41 #BB235A #DB4178 #E5749D #EEA8C1

Accessibility & contrast

On white

4.17
#DB4178 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#DB4178 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB4178
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB4178#FFFFFF#000000##000000
##DB41781.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#636979
Deuteranopia (green-blind)
#8C8774
Tritanopia (blue-blind)
#EE2858
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #db4178;
/* rgb */ color: rgb(219, 65, 120);
/* oklch */ color: oklch(61.2% 0.194 3.2);
Tailwind
colors: {
  custom: {
    50: '#ec819e',
    500: '#db4178',
    950: '#000000',
  },
}
SCSS
$custom: #db4178;
$custom-light: #ec819e;
$custom-dark: #000000;
JSON
{
  "hex": "#db4178",
  "rgb": {
    "r": 219,
    "g": 65,
    "b": 120
  },
  "hsl": {
    "h": 338.571,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61198,
    "c": 0.19393,
    "h": 3.2
  },
  "luminance": 0.20197
}

Semantic roles & 50–950 ramp

primary
#DB4178
secondary
#9CDCC5
accent
#EBAD3D
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #DB4178

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

Preview Lab → · Contrast checker → · Palette generator →

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