#DB477D#DB477D

#DB477D is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.9% C 0.188 H 2.0°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#DB477D
RGBrgb(219, 71, 125)
HSLhsl(338, 67%, 57%)
HSVhsv(338, 68%, 86%)
CMYKcmyk(0%, 67.6%, 42.9%, 14.1%)
CIE-LABlab(53.01, 61.53, 2.32)
CIE-LCHlch(53.01, 61.57, 2.16°)
OKLaboklab(61.94% 0.1883 0.0067)
OKLCHoklch(61.94% 0.188 2)
XYZxyz(35.1709, 21.0516, 21.6093)
Luminance0.2105 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB477D #47DBA5
analogous
#DB47C7 #DB477D #DB5B47
triadic
#DB477D #7DDB47 #477DDB
tetradic
#DB477D #C7DB47 #47DBA5 #5B47DB
square
#DB477D #C7DB47 #47DBA5 #5B47DB
split-complementary
#DB477D #47DB5B #47C7DB
monochromatic
#8C1B45 #BF255E #DB477D #E57AA1 #EFADC5

Accessibility & contrast

On white

4.03
#DB477D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#DB477D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB477D
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB477D#FFFFFF#000000##000000
##DB477D1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#666C7E
Deuteranopia (green-blind)
#8D897A
Tritanopia (blue-blind)
#ED335D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #db477d;
/* rgb */ color: rgb(219, 71, 125);
/* oklch */ color: oklch(61.9% 0.188 2.0);
Tailwind
colors: {
  custom: {
    50: '#eb84a2',
    500: '#db477d',
    950: '#000000',
  },
}
SCSS
$custom: #db477d;
$custom-light: #eb84a2;
$custom-dark: #000000;
JSON
{
  "hex": "#db477d",
  "rgb": {
    "r": 219,
    "g": 71,
    "b": 125
  },
  "hsl": {
    "h": 338.108,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61939,
    "c": 0.18838,
    "h": 2
  },
  "luminance": 0.21047
}

Semantic roles & 50–950 ramp

primary
#DB477D
secondary
#A1DDC7
accent
#EAAB3E
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170C0F
muted
#857D7E

Preview Lab

Preview with #DB477D

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

Preview Lab → · Contrast checker → · Palette generator →

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