#CD71A7#CD71A7

#CD71A7 is a light, vivid pink. Relative luminance 0.276; OKLCH L 66.8% C 0.132 H 345.1°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#CD71A7
RGBrgb(205, 113, 167)
HSLhsl(325, 48%, 62%)
HSVhsv(325, 45%, 80%)
CMYKcmyk(0%, 44.9%, 18.5%, 19.6%)
CIE-LABlab(59.51, 43.06, -12.90)
CIE-LCHlch(59.51, 44.95, 343.33°)
OKLaboklab(66.81% 0.1279 -0.034)
OKLCHoklch(66.81% 0.132 345.1)
XYZxyz(38.0576, 27.5821, 39.8711)
Luminance0.2758 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71A7 #71CD97
analogous
#C571CD #CD71A7 #CD7179
triadic
#CD71A7 #A7CD71 #71A7CD
tetradic
#CD71A7 #CDC571 #71CD97 #7179CD
square
#CD71A7 #CDC571 #71CD97 #7179CD
split-complementary
#CD71A7 #79CD71 #71CDC5
monochromatic
#91336A #BD448B #CD71A7 #DD9EC3 #EDCCDF

Accessibility & contrast

On white

3.22
#CD71A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#CD71A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD71A7
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71A7#FFFFFF#000000##000000
##CD71A71.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7886A9
Deuteranopia (green-blind)
#9095A5
Tritanopia (blue-blind)
#D87085
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cd71a7;
/* rgb */ color: rgb(205, 113, 167);
/* oklch */ color: oklch(66.8% 0.132 345.1);
Tailwind
colors: {
  custom: {
    50: '#de9cc1',
    500: '#cd71a7',
    950: '#000000',
  },
}
SCSS
$custom: #cd71a7;
$custom-light: #de9cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71a7",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 167
  },
  "hsl": {
    "h": 324.783,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66808,
    "c": 0.13239,
    "h": 345.1
  },
  "luminance": 0.27579
}

Semantic roles & 50–950 ramp

primary
#CD71A7
secondary
#BCDECA
accent
#BB662A
background
#FDF9FB
surface
#FBF2F7
border
#D4CCD0
text
#150E12
muted
#837E81

Preview Lab

Preview with #CD71A7

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

Preview Lab → · Contrast checker → · Palette generator →

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