#DB477B#DB477B

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

Color values

HEX#DB477B
RGBrgb(219, 71, 123)
HSLhsl(339, 67%, 57%)
HSVhsv(339, 68%, 86%)
CMYKcmyk(0%, 67.6%, 43.8%, 14.1%)
CIE-LABlab(52.95, 61.33, 3.43)
CIE-LCHlch(52.95, 61.43, 3.20°)
OKLaboklab(61.88% 0.1876 0.0095)
OKLCHoklch(61.88% 0.188 2.9)
XYZxyz(35.0444, 21.0010, 20.9432)
Luminance0.2100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB477B #47DBA7
analogous
#DB47C5 #DB477B #DB5D47
triadic
#DB477B #7BDB47 #477BDB
tetradic
#DB477B #C5DB47 #47DBA7 #5D47DB
square
#DB477B #C5DB47 #47DBA7 #5D47DB
split-complementary
#DB477B #47DB5D #47C5DB
monochromatic
#8C1B43 #BF255C #DB477B #E57AA0 #EFADC4

Accessibility & contrast

On white

4.04
#DB477B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#DB477B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB477B
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB477B#FFFFFF#000000##000000
##DB477B1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#666C7C
Deuteranopia (green-blind)
#8E8978
Tritanopia (blue-blind)
#ED325C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #db477b;
/* rgb */ color: rgb(219, 71, 123);
/* oklch */ color: oklch(61.9% 0.188 2.9);
Tailwind
colors: {
  custom: {
    50: '#eb84a1',
    500: '#db477b',
    950: '#000000',
  },
}
SCSS
$custom: #db477b;
$custom-light: #eb84a1;
$custom-dark: #000000;
JSON
{
  "hex": "#db477b",
  "rgb": {
    "r": 219,
    "g": 71,
    "b": 123
  },
  "hsl": {
    "h": 338.919,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.6188,
    "c": 0.18781,
    "h": 2.9
  },
  "luminance": 0.20997
}

Semantic roles & 50–950 ramp

primary
#DB477B
secondary
#A1DDC8
accent
#EAAE3E
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170C0E
muted
#857D7E

Preview Lab

Preview with #DB477B

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

Preview Lab → · Contrast checker → · Palette generator →

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