#DB3078#DB3078

#DB3078 is a mid, highly saturated pink. Relative luminance 0.185; OKLCH L 59.8% C 0.211 H 1.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#DB3078
RGBrgb(219, 48, 120)
HSLhsl(335, 70%, 52%)
HSVhsv(335, 78%, 86%)
CMYKcmyk(0%, 78.1%, 45.2%, 14.1%)
CIE-LABlab(50.14, 68.68, 1.16)
CIE-LCHlch(50.14, 68.69, 0.97°)
OKLaboklab(59.78% 0.211 0.0038)
OKLCHoklch(59.78% 0.211 1)
XYZxyz(33.6633, 18.5346, 19.5705)
Luminance0.1853 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB3078 #30DB93
analogous
#DB30CD #DB3078 #DB3E30
triadic
#DB3078 #78DB30 #3078DB
tetradic
#DB3078 #CDDB30 #30DB93 #3E30DB
square
#DB3078 #CDDB30 #30DB93 #3E30DB
split-complementary
#DB3078 #30DB3E #30CDDB
monochromatic
#7B1540 #AF1E5B #DB3078 #E4649A #ED98BC

Accessibility & contrast

On white

4.46
#DB3078 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#DB3078 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB3078
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB3078#FFFFFF#000000##000000
##DB30781.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#59627A
Deuteranopia (green-blind)
#878374
Tritanopia (blue-blind)
#EE0050
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #db3078;
/* rgb */ color: rgb(219, 48, 120);
/* oklch */ color: oklch(59.8% 0.211 1.0);
Tailwind
colors: {
  custom: {
    50: '#ec799e',
    500: '#db3078',
    950: '#000000',
  },
}
SCSS
$custom: #db3078;
$custom-light: #ec799e;
$custom-dark: #000000;
JSON
{
  "hex": "#db3078",
  "rgb": {
    "r": 219,
    "g": 48,
    "b": 120
  },
  "hsl": {
    "h": 334.737,
    "s": 70.37,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5978,
    "c": 0.21099,
    "h": 1
  },
  "luminance": 0.1853
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB3078

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

Preview Lab → · Contrast checker → · Palette generator →

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