#CD71B7#CD71B7

#CD71B7 is a light, vivid pink. Relative luminance 0.282; OKLCH L 67.4% C 0.144 H 336.7°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#CD71B7
RGBrgb(205, 113, 183)
HSLhsl(314, 48%, 62%)
HSVhsv(314, 45%, 80%)
CMYKcmyk(0%, 44.9%, 10.7%, 19.6%)
CIE-LABlab(60.08, 45.61, -21.20)
CIE-LCHlch(60.08, 50.29, 335.07°)
OKLaboklab(67.42% 0.1324 -0.057)
OKLCHoklch(67.42% 0.144 336.7)
XYZxyz(39.6293, 28.2108, 48.1485)
Luminance0.2821 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71B7 #71CD87
analogous
#B571CD #CD71B7 #CD7189
triadic
#CD71B7 #B7CD71 #71B7CD
tetradic
#CD71B7 #CDB571 #71CD87 #7189CD
square
#CD71B7 #CDB571 #71CD87 #7189CD
split-complementary
#CD71B7 #89CD71 #71CDB5
monochromatic
#91337A #BD44A0 #CD71B7 #DD9ECE #EDCCE5

Accessibility & contrast

On white

3.16
#CD71B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#CD71B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD71B7
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71B7#FFFFFF#000000##000000
##CD71B71.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7288B9
Deuteranopia (green-blind)
#8B96B4
Tritanopia (blue-blind)
#D6748C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cd71b7;
/* rgb */ color: rgb(205, 113, 183);
/* oklch */ color: oklch(67.4% 0.144 336.7);
Tailwind
colors: {
  custom: {
    50: '#de9ccc',
    500: '#cd71b7',
    950: '#000000',
  },
}
SCSS
$custom: #cd71b7;
$custom-light: #de9ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71b7",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 183
  },
  "hsl": {
    "h": 314.348,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.67423,
    "c": 0.14412,
    "h": 336.7
  },
  "luminance": 0.28208
}

Semantic roles & 50–950 ramp

primary
#CD71B7
secondary
#BCDEC4
accent
#BB4D2A
background
#FDF9FC
surface
#FBF2F9
border
#D4CCD2
text
#150E13
muted
#837E82

Preview Lab

Preview with #CD71B7

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

Preview Lab → · Contrast checker → · Palette generator →

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