#DF71B2#DF71B2

#DF71B2 is a light, vivid pink. Relative luminance 0.307; OKLCH L 69.5% C 0.156 H 345.5°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#DF71B2
RGBrgb(223, 113, 178)
HSLhsl(325, 63%, 66%)
HSVhsv(325, 49%, 87%)
CMYKcmyk(0%, 49.3%, 20.2%, 12.5%)
CIE-LABlab(62.27, 50.52, -14.80)
CIE-LCHlch(62.27, 52.65, 343.67°)
OKLaboklab(69.5% 0.1508 -0.0391)
OKLCHoklch(69.5% 0.156 345.5)
XYZxyz(44.3734, 30.7161, 45.7026)
Luminance0.3071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF71B2 #71DF9E
analogous
#D571DF #DF71B2 #DF717B
triadic
#DF71B2 #B2DF71 #71B2DF
tetradic
#DF71B2 #DFD571 #71DF9E #717BDF
square
#DF71B2 #DFD571 #71DF9E #717BDF
split-complementary
#DF71B2 #7BDF71 #71DFD5
monochromatic
#AE2777 #D43F97 #DF71B2 #EAA3CD #F6D5E8

Accessibility & contrast

On white

2.94
#DF71B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#DF71B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF71B2
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF71B2#FFFFFF#000000##000000
##DF71B21.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8BB4
Deuteranopia (green-blind)
#979DAF
Tritanopia (blue-blind)
#EB708A
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #df71b2;
/* rgb */ color: rgb(223, 113, 178);
/* oklch */ color: oklch(69.5% 0.156 345.5);
Tailwind
colors: {
  custom: {
    50: '#eb9dc9',
    500: '#df71b2',
    950: '#000000',
  },
}
SCSS
$custom: #df71b2;
$custom-light: #eb9dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#df71b2",
  "rgb": {
    "r": 223,
    "g": 113,
    "b": 178
  },
  "hsl": {
    "h": 324.545,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69497,
    "c": 0.15576,
    "h": 345.5
  },
  "luminance": 0.30713
}

Semantic roles & 50–950 ramp

primary
#DF71B2
secondary
#C4E8D3
accent
#CB631B
background
#FEF9FC
surface
#FDF2F8
border
#D5CCD1
text
#170F13
muted
#857E82

Preview Lab

Preview with #DF71B2

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

Preview Lab → · Contrast checker → · Palette generator →

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