#DF71A2#DF71A2

#DF71A2 is a light, vivid pink. Relative luminance 0.301; OKLCH L 68.9% C 0.147 H 353.6°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#DF71A2
RGBrgb(223, 113, 162)
HSLhsl(333, 63%, 66%)
HSVhsv(333, 49%, 87%)
CMYKcmyk(0%, 49.3%, 27.4%, 12.5%)
CIE-LABlab(61.75, 48.29, -6.43)
CIE-LCHlch(61.75, 48.72, 352.42°)
OKLaboklab(68.94% 0.146 -0.0164)
OKLCHoklch(68.94% 0.147 353.6)
XYZxyz(42.8596, 30.1106, 37.7300)
Luminance0.3011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF71A2 #71DFAE
analogous
#DF71D9 #DF71A2 #DF7771
triadic
#DF71A2 #A2DF71 #71A2DF
tetradic
#DF71A2 #D9DF71 #71DFAE #7771DF
square
#DF71A2 #D9DF71 #71DFAE #7771DF
split-complementary
#DF71A2 #71DF77 #71D9DF
monochromatic
#AE2763 #D43F81 #DF71A2 #EAA3C3 #F6D5E3

Accessibility & contrast

On white

2.99
#DF71A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#DF71A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF71A2
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF71A2#FFFFFF#000000##000000
##DF71A21.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F89A4
Deuteranopia (green-blind)
#9C9D9F
Tritanopia (blue-blind)
#ED6C83
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #df71a2;
/* rgb */ color: rgb(223, 113, 162);
/* oklch */ color: oklch(68.9% 0.147 353.6);
Tailwind
colors: {
  custom: {
    50: '#ec9dbd',
    500: '#df71a2',
    950: '#000000',
  },
}
SCSS
$custom: #df71a2;
$custom-light: #ec9dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#df71a2",
  "rgb": {
    "r": 223,
    "g": 113,
    "b": 162
  },
  "hsl": {
    "h": 333.273,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68938,
    "c": 0.14689,
    "h": 353.6
  },
  "luminance": 0.30107
}

Semantic roles & 50–950 ramp

primary
#DF71A2
secondary
#C4E8D8
accent
#CB7C1B
background
#FEF9FB
surface
#FDF2F6
border
#D5CCD0
text
#170E12
muted
#857E81

Preview Lab

Preview with #DF71A2

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

Preview Lab → · Contrast checker → · Palette generator →

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