#CD71B1#CD71B1

#CD71B1 is a light, vivid pink. Relative luminance 0.280; OKLCH L 67.2% C 0.139 H 339.7°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#CD71B1
RGBrgb(205, 113, 177)
HSLhsl(318, 48%, 62%)
HSVhsv(318, 45%, 80%)
CMYKcmyk(0%, 44.9%, 13.7%, 19.6%)
CIE-LABlab(59.86, 44.63, -18.11)
CIE-LCHlch(59.86, 48.16, 337.92°)
OKLaboklab(67.19% 0.1308 -0.0484)
OKLCHoklch(67.19% 0.139 339.7)
XYZxyz(39.0181, 27.9663, 44.9294)
Luminance0.2796 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71B1 #71CD8D
analogous
#BB71CD #CD71B1 #CD7183
triadic
#CD71B1 #B1CD71 #71B1CD
tetradic
#CD71B1 #CDBB71 #71CD8D #7183CD
square
#CD71B1 #CDBB71 #71CD8D #7183CD
split-complementary
#CD71B1 #83CD71 #71CDBB
monochromatic
#913374 #BD4498 #CD71B1 #DD9ECA #EDCCE3

Accessibility & contrast

On white

3.19
#CD71B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#CD71B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD71B1
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71B1#FFFFFF#000000##000000
##CD71B11.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7587B3
Deuteranopia (green-blind)
#8D96AE
Tritanopia (blue-blind)
#D67389
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cd71b1;
/* rgb */ color: rgb(205, 113, 177);
/* oklch */ color: oklch(67.2% 0.139 339.7);
Tailwind
colors: {
  custom: {
    50: '#de9cc8',
    500: '#cd71b1',
    950: '#000000',
  },
}
SCSS
$custom: #cd71b1;
$custom-light: #de9cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71b1",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 177
  },
  "hsl": {
    "h": 318.261,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.67186,
    "c": 0.13946,
    "h": 339.7
  },
  "luminance": 0.27964
}

Semantic roles & 50–950 ramp

primary
#CD71B1
secondary
#BCDEC6
accent
#BB562A
background
#FDF9FC
surface
#FBF2F8
border
#D4CCD1
text
#150E13
muted
#837E82

Preview Lab

Preview with #CD71B1

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

Preview Lab → · Contrast checker → · Palette generator →

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