#DB47B1#DB47B1

#DB47B1 is a light, highly saturated pink. Relative luminance 0.227; OKLCH L 63.9% C 0.213 H 341.1°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#DB47B1
RGBrgb(219, 71, 177)
HSLhsl(317, 67%, 57%)
HSVhsv(317, 68%, 86%)
CMYKcmyk(0%, 67.6%, 19.2%, 14.1%)
CIE-LABlab(54.81, 67.61, -25.67)
CIE-LCHlch(54.81, 72.32, 339.21°)
OKLaboklab(63.85% 0.2019 -0.069)
OKLCHoklch(63.85% 0.213 341.1)
XYZxyz(39.4036, 22.7446, 43.9014)
Luminance0.2274 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB47B1 #47DB71
analogous
#BB47DB #DB47B1 #DB4767
triadic
#DB47B1 #B1DB47 #47B1DB
tetradic
#DB47B1 #DBBB47 #47DB71 #4767DB
square
#DB47B1 #DBBB47 #47DB71 #4767DB
split-complementary
#DB47B1 #67DB47 #47DBBB
monochromatic
#8C1B6C #BF2594 #DB47B1 #E57AC7 #EFADDC

Accessibility & contrast

On white

3.79
#DB47B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#DB47B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB47B1
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB47B1#FFFFFF#000000##000000
##DB47B11.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5274B4
Deuteranopia (green-blind)
#808CAD
Tritanopia (blue-blind)
#E84A76
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #db47b1;
/* rgb */ color: rgb(219, 71, 177);
/* oklch */ color: oklch(63.9% 0.213 341.1);
Tailwind
colors: {
  custom: {
    50: '#ea85c8',
    500: '#db47b1',
    950: '#000000',
  },
}
SCSS
$custom: #db47b1;
$custom-light: #ea85c8;
$custom-dark: #000000;
JSON
{
  "hex": "#db47b1",
  "rgb": {
    "r": 219,
    "g": 71,
    "b": 177
  },
  "hsl": {
    "h": 317.027,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63854,
    "c": 0.21336,
    "h": 341.1
  },
  "luminance": 0.22741
}

Semantic roles & 50–950 ramp

primary
#DB47B1
secondary
#A1DDB2
accent
#EA6F3E
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #DB47B1

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

Preview Lab → · Contrast checker → · Palette generator →

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