#DB47B2#DB47B2

#DB47B2 is a light, highly saturated pink. Relative luminance 0.228; OKLCH L 63.9% C 0.214 H 340.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#DB47B2
RGBrgb(219, 71, 178)
HSLhsl(317, 67%, 57%)
HSVhsv(317, 68%, 86%)
CMYKcmyk(0%, 67.6%, 18.7%, 14.1%)
CIE-LABlab(54.85, 67.75, -26.19)
CIE-LCHlch(54.85, 72.64, 338.87°)
OKLaboklab(63.9% 0.2021 -0.0704)
OKLCHoklch(63.9% 0.214 340.8)
XYZxyz(39.5036, 22.7846, 44.4282)
Luminance0.2278 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB47B2 #47DB70
analogous
#BA47DB #DB47B2 #DB4768
triadic
#DB47B2 #B2DB47 #47B2DB
tetradic
#DB47B2 #DBBA47 #47DB70 #4768DB
square
#DB47B2 #DBBA47 #47DB70 #4768DB
split-complementary
#DB47B2 #68DB47 #47DBBA
monochromatic
#8C1B6D #BF2595 #DB47B2 #E57AC7 #EFADDD

Accessibility & contrast

On white

3.78
#DB47B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#DB47B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB47B2
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB47B2#FFFFFF#000000##000000
##DB47B21.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5174B5
Deuteranopia (green-blind)
#7F8CAE
Tritanopia (blue-blind)
#E84A76
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #db47b2;
/* rgb */ color: rgb(219, 71, 178);
/* oklch */ color: oklch(63.9% 0.214 340.8);
Tailwind
colors: {
  custom: {
    50: '#ea85c9',
    500: '#db47b2',
    950: '#000000',
  },
}
SCSS
$custom: #db47b2;
$custom-light: #ea85c9;
$custom-dark: #000000;
JSON
{
  "hex": "#db47b2",
  "rgb": {
    "r": 219,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 316.622,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63898,
    "c": 0.214,
    "h": 340.8
  },
  "luminance": 0.22781
}

Semantic roles & 50–950 ramp

primary
#DB47B2
secondary
#A1DDB1
accent
#EA6D3E
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DB47B2

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

Preview Lab → · Contrast checker → · Palette generator →

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