#D71CB5#D71CB5

#D71CB5 is a mid, highly saturated pink. Relative luminance 0.186; OKLCH L 60.5% C 0.253 H 337.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#D71CB5
RGBrgb(215, 28, 181)
HSLhsl(311, 77%, 48%)
HSVhsv(311, 87%, 84%)
CMYKcmyk(0%, 87%, 15.8%, 15.7%)
CIE-LABlab(50.24, 78.86, -35.17)
CIE-LCHlch(50.24, 86.35, 335.96°)
OKLaboklab(60.49% 0.2339 -0.0958)
OKLCHoklch(60.49% 0.253 337.7)
XYZxyz(36.7810, 18.6175, 45.3636)
Luminance0.1861 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D71CB5 #1CD73E
analogous
#9B1CD7 #D71CB5 #D71C58
triadic
#D71CB5 #B5D71C #1CB5D7
tetradic
#D71CB5 #D79B1C #1CD73E #1C58D7
square
#D71CB5 #D79B1C #1CD73E #1C58D7
split-complementary
#D71CB5 #58D71C #1CD79B
monochromatic
#6B0E5A #A11587 #D71CB5 #E749CA #EE7FDA

Accessibility & contrast

On white

4.45
#D71CB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#D71CB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D71CB5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D71CB5#FFFFFF#000000##000000
##D71CB51.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2866B9
Deuteranopia (green-blind)
#6D81B1
Tritanopia (blue-blind)
#E32D6D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d71cb5;
/* rgb */ color: rgb(215, 28, 181);
/* oklch */ color: oklch(60.5% 0.253 337.7);
Tailwind
colors: {
  custom: {
    50: '#e875cb',
    500: '#d71cb5',
    950: '#000000',
  },
}
SCSS
$custom: #d71cb5;
$custom-light: #e875cb;
$custom-dark: #000000;
JSON
{
  "hex": "#d71cb5",
  "rgb": {
    "r": 215,
    "g": 28,
    "b": 181
  },
  "hsl": {
    "h": 310.909,
    "s": 76.955,
    "l": 47.647
  },
  "oklch": {
    "l": 0.60486,
    "c": 0.25273,
    "h": 337.7
  },
  "luminance": 0.18614
}

Semantic roles & 50–950 ramp

primary
#D71CB5
secondary
#78D789
accent
#F35734
background
#FEF7FC
surface
#FDEEF8
border
#D5C9D1
text
#170A13
muted
#857C82

Preview Lab

Preview with #D71CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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