#DF71CB#DF71CB

#DF71CB is a light, vivid pink. Relative luminance 0.318; OKLCH L 70.5% C 0.174 H 334.6°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#DF71CB
RGBrgb(223, 113, 203)
HSLhsl(311, 63%, 66%)
HSVhsv(311, 49%, 87%)
CMYKcmyk(0%, 49.3%, 9%, 12.5%)
CIE-LABlab(63.19, 54.38, -27.57)
CIE-LCHlch(63.19, 60.97, 333.12°)
OKLaboklab(70.49% 0.1569 -0.0747)
OKLCHoklch(70.49% 0.174 334.6)
XYZxyz(47.1161, 31.8131, 60.1472)
Luminance0.3181 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF71CB #71DF85
analogous
#BC71DF #DF71CB #DF7194
triadic
#DF71CB #CBDF71 #71CBDF
tetradic
#DF71CB #DFBC71 #71DF85 #7194DF
square
#DF71CB #DFBC71 #71DF85 #7194DF
split-complementary
#DF71CB #94DF71 #71DFBC
monochromatic
#AE2796 #D43FB9 #DF71CB #EAA3DD #F6D5F0

Accessibility & contrast

On white

2.85
#DF71CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#DF71CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF71CB
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF71CB#FFFFFF#000000##000000
##DF71CB1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#718FCE
Deuteranopia (green-blind)
#909FC8
Tritanopia (blue-blind)
#E87795
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #df71cb;
/* rgb */ color: rgb(223, 113, 203);
/* oklch */ color: oklch(70.5% 0.174 334.6);
Tailwind
colors: {
  custom: {
    50: '#eb9ddb',
    500: '#df71cb',
    950: '#000000',
  },
}
SCSS
$custom: #df71cb;
$custom-light: #eb9ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#df71cb",
  "rgb": {
    "r": 223,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 310.909,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70486,
    "c": 0.17378,
    "h": 334.6
  },
  "luminance": 0.3181
}

Semantic roles & 50–950 ramp

primary
#DF71CB
secondary
#C4E8CA
accent
#CB3B1B
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160F15
muted
#847E83

Preview Lab

Preview with #DF71CB

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

Preview Lab → · Contrast checker → · Palette generator →

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