#DB4078#DB4078

#DB4078 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.1% C 0.195 H 3.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#DB4078
RGBrgb(219, 64, 120)
HSLhsl(338, 68%, 55%)
HSVhsv(338, 71%, 86%)
CMYKcmyk(0%, 70.8%, 45.2%, 14.1%)
CIE-LABlab(51.94, 63.63, 3.77)
CIE-LCHlch(51.94, 63.74, 3.39°)
OKLaboklab(61.1% 0.1948 0.0104)
OKLCHoklch(61.1% 0.195 3)
XYZxyz(34.4397, 20.0874, 19.8293)
Luminance0.2008 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB4078 #40DBA3
analogous
#DB40C5 #DB4078 #DB5640
triadic
#DB4078 #78DB40 #4078DB
tetradic
#DB4078 #C5DB40 #40DBA3 #5640DB
square
#DB4078 #C5DB40 #40DBA3 #5640DB
split-complementary
#DB4078 #40DB56 #40C5DB
monochromatic
#871941 #BB235A #DB4078 #E5739C #EEA7C1

Accessibility & contrast

On white

4.19
#DB4078 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#DB4078 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB4078
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB4078#FFFFFF#000000##000000
##DB40781.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #db4078;
/* rgb */ color: rgb(219, 64, 120);
/* oklch */ color: oklch(61.1% 0.195 3.0);
Tailwind
colors: {
  custom: {
    50: '#ec809e',
    500: '#db4078',
    950: '#000000',
  },
}
SCSS
$custom: #db4078;
$custom-light: #ec809e;
$custom-dark: #000000;
JSON
{
  "hex": "#db4078",
  "rgb": {
    "r": 219,
    "g": 64,
    "b": 120
  },
  "hsl": {
    "h": 338.323,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61103,
    "c": 0.19505,
    "h": 3
  },
  "luminance": 0.20083
}

Semantic roles & 50–950 ramp

primary
#DB4078
secondary
#9BDCC4
accent
#EBAC3D
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #DB4078

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

Preview Lab → · Contrast checker → · Palette generator →

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