#DB5178#DB5178

#DB5178 is a light, vivid pink. Relative luminance 0.223; OKLCH L 62.9% C 0.175 H 6.3°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#DB5178
RGBrgb(219, 81, 120)
HSLhsl(343, 66%, 59%)
HSVhsv(343, 63%, 86%)
CMYKcmyk(0%, 63%, 45.2%, 14.1%)
CIE-LABlab(54.35, 57.01, 7.23)
CIE-LCHlch(54.35, 57.47, 7.22°)
OKLaboklab(62.89% 0.1737 0.0191)
OKLCHoklch(62.89% 0.175 6.3)
XYZxyz(35.5486, 22.3053, 20.1990)
Luminance0.2230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5178 #51DBB4
analogous
#DB51BD #DB5178 #DB6F51
triadic
#DB5178 #78DB51 #5178DB
tetradic
#DB5178 #BDDB51 #51DBB4 #6F51DB
square
#DB5178 #BDDB51 #51DBB4 #6F51DB
split-complementary
#DB5178 #51DB6F #51BDDB
monochromatic
#931E3F #C62955 #DB5178 #E5849F #F0B6C7

Accessibility & contrast

On white

3.85
#DB5178 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#DB5178 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB5178
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5178#FFFFFF#000000##000000
##DB51781.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7179
Deuteranopia (green-blind)
#928C75
Tritanopia (blue-blind)
#ED3E60
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #db5178;
/* rgb */ color: rgb(219, 81, 120);
/* oklch */ color: oklch(62.9% 0.175 6.3);
Tailwind
colors: {
  custom: {
    50: '#eb899e',
    500: '#db5178',
    950: '#000000',
  },
}
SCSS
$custom: #db5178;
$custom-light: #eb899e;
$custom-dark: #000000;
JSON
{
  "hex": "#db5178",
  "rgb": {
    "r": 219,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 343.043,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62893,
    "c": 0.17475,
    "h": 6.3
  },
  "luminance": 0.22301
}

Semantic roles & 50–950 ramp

primary
#DB5178
secondary
#A9DFD0
accent
#E9B93F
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #DB5178

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

Preview Lab → · Contrast checker → · Palette generator →

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