#DB5278#DB5278

#DB5278 is a light, vivid pink. Relative luminance 0.225; OKLCH L 63.0% C 0.173 H 6.5°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#DB5278
RGBrgb(219, 82, 120)
HSLhsl(343, 66%, 59%)
HSVhsv(343, 63%, 86%)
CMYKcmyk(0%, 62.6%, 45.2%, 14.1%)
CIE-LABlab(54.51, 56.59, 7.45)
CIE-LCHlch(54.51, 57.08, 7.50°)
OKLaboklab(63.01% 0.1724 0.0197)
OKLCHoklch(63.01% 0.173 6.5)
XYZxyz(35.6235, 22.4550, 20.2239)
Luminance0.2245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB5278 #52DBB5
analogous
#DB52BC #DB5278 #DB7152
triadic
#DB5278 #78DB52 #5278DB
tetradic
#DB5278 #BCDB52 #52DBB5 #7152DB
square
#DB5278 #BCDB52 #52DBB5 #7152DB
split-complementary
#DB5278 #52DB71 #52BCDB
monochromatic
#941F3F #C62955 #DB5278 #E685A0 #F0B7C7

Accessibility & contrast

On white

3.82
#DB5278 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#DB5278 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB5278
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB5278#FFFFFF#000000##000000
##DB52781.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7179
Deuteranopia (green-blind)
#938C75
Tritanopia (blue-blind)
#ED4061
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #db5278;
/* rgb */ color: rgb(219, 82, 120);
/* oklch */ color: oklch(63.0% 0.173 6.5);
Tailwind
colors: {
  custom: {
    50: '#eb899e',
    500: '#db5278',
    950: '#000000',
  },
}
SCSS
$custom: #db5278;
$custom-light: #eb899e;
$custom-dark: #000000;
JSON
{
  "hex": "#db5278",
  "rgb": {
    "r": 219,
    "g": 82,
    "b": 120
  },
  "hsl": {
    "h": 343.358,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63011,
    "c": 0.17348,
    "h": 6.5
  },
  "luminance": 0.22451
}

Semantic roles & 50–950 ramp

primary
#DB5278
secondary
#AADFD0
accent
#E9BA3F
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #DB5278

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

Preview Lab → · Contrast checker → · Palette generator →

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