#CD71B5#CD71B5

#CD71B5 is a light, vivid pink. Relative luminance 0.281; OKLCH L 67.3% C 0.143 H 337.7°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#CD71B5
RGBrgb(205, 113, 181)
HSLhsl(316, 48%, 62%)
HSVhsv(316, 45%, 80%)
CMYKcmyk(0%, 44.9%, 11.7%, 19.6%)
CIE-LABlab(60.00, 45.28, -20.17)
CIE-LCHlch(60.00, 49.57, 335.99°)
OKLaboklab(67.34% 0.1319 -0.0541)
OKLCHoklch(67.34% 0.143 337.7)
XYZxyz(39.4226, 28.1281, 47.0599)
Luminance0.2813 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71B5 #71CD89
analogous
#B771CD #CD71B5 #CD7187
triadic
#CD71B5 #B5CD71 #71B5CD
tetradic
#CD71B5 #CDB771 #71CD89 #7187CD
square
#CD71B5 #CDB771 #71CD89 #7187CD
split-complementary
#CD71B5 #87CD71 #71CDB7
monochromatic
#913378 #BD449D #CD71B5 #DD9ECD #EDCCE4

Accessibility & contrast

On white

3.17
#CD71B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#CD71B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD71B5
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71B5#FFFFFF#000000##000000
##CD71B51.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7388B7
Deuteranopia (green-blind)
#8C96B2
Tritanopia (blue-blind)
#D6748B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cd71b5;
/* rgb */ color: rgb(205, 113, 181);
/* oklch */ color: oklch(67.3% 0.143 337.7);
Tailwind
colors: {
  custom: {
    50: '#de9ccb',
    500: '#cd71b5',
    950: '#000000',
  },
}
SCSS
$custom: #cd71b5;
$custom-light: #de9ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71b5",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 181
  },
  "hsl": {
    "h": 315.652,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.67343,
    "c": 0.14254,
    "h": 337.7
  },
  "luminance": 0.28126
}

Semantic roles & 50–950 ramp

primary
#CD71B5
secondary
#BCDEC5
accent
#BB502A
background
#FDF9FC
surface
#FBF2F8
border
#D4CCD1
text
#150E13
muted
#837E82

Preview Lab

Preview with #CD71B5

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

Preview Lab → · Contrast checker → · Palette generator →

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