#DF71B7#DF71B7

#DF71B7 is a light, vivid pink. Relative luminance 0.309; OKLCH L 69.7% C 0.159 H 343.1°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#DF71B7
RGBrgb(223, 113, 183)
HSLhsl(322, 63%, 66%)
HSVhsv(322, 49%, 87%)
CMYKcmyk(0%, 49.3%, 17.9%, 12.5%)
CIE-LABlab(62.44, 51.26, -17.39)
CIE-LCHlch(62.44, 54.13, 341.26°)
OKLaboklab(69.68% 0.1522 -0.0462)
OKLCHoklch(69.68% 0.159 343.1)
XYZxyz(44.8846, 30.9205, 48.3948)
Luminance0.3092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF71B7 #71DF99
analogous
#D071DF #DF71B7 #DF7180
triadic
#DF71B7 #B7DF71 #71B7DF
tetradic
#DF71B7 #DFD071 #71DF99 #7180DF
square
#DF71B7 #DFD071 #71DF99 #7180DF
split-complementary
#DF71B7 #80DF71 #71DFD0
monochromatic
#AE277D #D43F9E #DF71B7 #EAA3D0 #F6D5EA

Accessibility & contrast

On white

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

On black

7.18
#DF71B7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF71B7
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF71B7#FFFFFF#000000##000000
##DF71B71.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#788CB9
Deuteranopia (green-blind)
#969EB4
Tritanopia (blue-blind)
#EB718C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #df71b7;
/* rgb */ color: rgb(223, 113, 183);
/* oklch */ color: oklch(69.7% 0.159 343.1);
Tailwind
colors: {
  custom: {
    50: '#eb9dcc',
    500: '#df71b7',
    950: '#000000',
  },
}
SCSS
$custom: #df71b7;
$custom-light: #eb9dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#df71b7",
  "rgb": {
    "r": 223,
    "g": 113,
    "b": 183
  },
  "hsl": {
    "h": 321.818,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69683,
    "c": 0.15901,
    "h": 343.1
  },
  "luminance": 0.30917
}

Semantic roles & 50–950 ramp

primary
#DF71B7
secondary
#C4E8D1
accent
#CB5B1B
background
#FEF9FC
surface
#FDF2F8
border
#D5CCD1
text
#160F13
muted
#847E82

Preview Lab

Preview with #DF71B7

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

Preview Lab → · Contrast checker → · Palette generator →

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