#DB71C7#DB71C7

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

Color values

HEX#DB71C7
RGBrgb(219, 113, 199)
HSLhsl(311, 60%, 65%)
HSVhsv(311, 48%, 86%)
CMYKcmyk(0%, 48.4%, 9.1%, 14.1%)
CIE-LABlab(62.50, 52.54, -26.41)
CIE-LCHlch(62.50, 58.81, 333.31°)
OKLaboklab(69.82% 0.1517 -0.0714)
OKLCHoklch(69.82% 0.168 334.8)
XYZxyz(45.4274, 30.9968, 57.6120)
Luminance0.3099 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB71C7 #71DB85
analogous
#BA71DB #DB71C7 #DB7192
triadic
#DB71C7 #C7DB71 #71C7DB
tetradic
#DB71C7 #DBBA71 #71DB85 #7192DB
square
#DB71C7 #DBBA71 #71DB85 #7192DB
split-complementary
#DB71C7 #92DB71 #71DBBA
monochromatic
#A72A90 #CF40B4 #DB71C7 #E7A2DA #F4D3EE

Accessibility & contrast

On white

2.92
#DB71C7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#DB71C7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB71C7
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB71C7#FFFFFF#000000##000000
##DB71C71.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#718DCA
Deuteranopia (green-blind)
#8E9DC4
Tritanopia (blue-blind)
#E47693
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #db71c7;
/* rgb */ color: rgb(219, 113, 199);
/* oklch */ color: oklch(69.8% 0.168 334.8);
Tailwind
colors: {
  custom: {
    50: '#e89dd8',
    500: '#db71c7',
    950: '#000000',
  },
}
SCSS
$custom: #db71c7;
$custom-light: #e89dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#db71c7",
  "rgb": {
    "r": 219,
    "g": 113,
    "b": 199
  },
  "hsl": {
    "h": 311.321,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.69817,
    "c": 0.16767,
    "h": 334.8
  },
  "luminance": 0.30994
}

Semantic roles & 50–950 ramp

primary
#DB71C7
secondary
#C2E6C9
accent
#C73E1E
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160F14
muted
#847E83

Preview Lab

Preview with #DB71C7

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

Preview Lab → · Contrast checker → · Palette generator →

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