#DF71C2#DF71C2

#DF71C2 is a light, vivid pink. Relative luminance 0.314; OKLCH L 70.1% C 0.167 H 338.2°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#DF71C2
RGBrgb(223, 113, 194)
HSLhsl(316, 63%, 66%)
HSVhsv(316, 49%, 87%)
CMYKcmyk(0%, 49.3%, 13%, 12.5%)
CIE-LABlab(62.84, 52.94, -23.02)
CIE-LCHlch(62.84, 57.73, 336.50°)
OKLaboklab(70.11% 0.1549 -0.0619)
OKLCHoklch(70.11% 0.167 338.2)
XYZxyz(46.0746, 31.3965, 54.6619)
Luminance0.3139 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF71C2 #71DF8E
analogous
#C571DF #DF71C2 #DF718B
triadic
#DF71C2 #C2DF71 #71C2DF
tetradic
#DF71C2 #DFC571 #71DF8E #718BDF
square
#DF71C2 #DFC571 #71DF8E #718BDF
split-complementary
#DF71C2 #8BDF71 #71DFC5
monochromatic
#AE278B #D43FAD #DF71C2 #EAA3D7 #F6D5ED

Accessibility & contrast

On white

2.89
#DF71C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#DF71C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF71C2
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF71C2#FFFFFF#000000##000000
##DF71C21.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#748DC5
Deuteranopia (green-blind)
#939EBF
Tritanopia (blue-blind)
#E97491
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #df71c2;
/* rgb */ color: rgb(223, 113, 194);
/* oklch */ color: oklch(70.1% 0.167 338.2);
Tailwind
colors: {
  custom: {
    50: '#eb9dd4',
    500: '#df71c2',
    950: '#000000',
  },
}
SCSS
$custom: #df71c2;
$custom-light: #eb9dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#df71c2",
  "rgb": {
    "r": 223,
    "g": 113,
    "b": 194
  },
  "hsl": {
    "h": 315.818,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70114,
    "c": 0.16681,
    "h": 338.2
  },
  "luminance": 0.31393
}

Semantic roles & 50–950 ramp

primary
#DF71C2
secondary
#C4E8CD
accent
#CB491B
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160F14
muted
#847E83

Preview Lab

Preview with #DF71C2

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

Preview Lab → · Contrast checker → · Palette generator →

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