#DB71C8#DB71C8

#DB71C8 is a light, vivid pink. Relative luminance 0.310; OKLCH L 69.9% C 0.168 H 334.4°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#DB71C8
RGBrgb(219, 113, 200)
HSLhsl(311, 60%, 65%)
HSVhsv(311, 48%, 86%)
CMYKcmyk(0%, 48.4%, 8.7%, 14.1%)
CIE-LABlab(62.54, 52.71, -26.91)
CIE-LCHlch(62.54, 59.18, 332.95°)
OKLaboklab(69.86% 0.1519 -0.0729)
OKLCHoklch(69.86% 0.168 334.4)
XYZxyz(45.5439, 31.0434, 58.2255)
Luminance0.3104 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB71C8 #71DB84
analogous
#B971DB #DB71C8 #DB7193
triadic
#DB71C8 #C8DB71 #71C8DB
tetradic
#DB71C8 #DBB971 #71DB84 #7193DB
square
#DB71C8 #DBB971 #71DB84 #7193DB
split-complementary
#DB71C8 #93DB71 #71DBB9
monochromatic
#A72A91 #CF40B5 #DB71C8 #E7A2DB #F4D3EE

Accessibility & contrast

On white

2.91
#DB71C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#DB71C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB71C8
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB71C8#FFFFFF#000000##000000
##DB71C81.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#708DCB
Deuteranopia (green-blind)
#8E9DC5
Tritanopia (blue-blind)
#E47793
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #db71c8;
/* rgb */ color: rgb(219, 113, 200);
/* oklch */ color: oklch(69.9% 0.168 334.4);
Tailwind
colors: {
  custom: {
    50: '#e89dd9',
    500: '#db71c8',
    950: '#000000',
  },
}
SCSS
$custom: #db71c8;
$custom-light: #e89dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#db71c8",
  "rgb": {
    "r": 219,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 310.755,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.69859,
    "c": 0.16847,
    "h": 334.4
  },
  "luminance": 0.3104
}

Semantic roles & 50–950 ramp

primary
#DB71C8
secondary
#C2E6C8
accent
#C73D1E
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160F14
muted
#847E83

Preview Lab

Preview with #DB71C8

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

Preview Lab → · Contrast checker → · Palette generator →

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