#CD71B2#CD71B2

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

Color values

HEX#CD71B2
RGBrgb(205, 113, 178)
HSLhsl(318, 48%, 62%)
HSVhsv(318, 45%, 80%)
CMYKcmyk(0%, 44.9%, 13.2%, 19.6%)
CIE-LABlab(59.89, 44.79, -18.62)
CIE-LCHlch(59.89, 48.51, 337.42°)
OKLaboklab(67.22% 0.1311 -0.0498)
OKLCHoklch(67.22% 0.14 339.2)
XYZxyz(39.1181, 28.0063, 45.4562)
Luminance0.2800 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71B2 #71CD8C
analogous
#BA71CD #CD71B2 #CD7184
triadic
#CD71B2 #B2CD71 #71B2CD
tetradic
#CD71B2 #CDBA71 #71CD8C #7184CD
square
#CD71B2 #CDBA71 #71CD8C #7184CD
split-complementary
#CD71B2 #84CD71 #71CDBA
monochromatic
#913375 #BD4499 #CD71B2 #DD9ECB #EDCCE3

Accessibility & contrast

On white

3.18
#CD71B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#CD71B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD71B2
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71B2#FFFFFF#000000##000000
##CD71B21.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7487B4
Deuteranopia (green-blind)
#8D96AF
Tritanopia (blue-blind)
#D6738A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cd71b2;
/* rgb */ color: rgb(205, 113, 178);
/* oklch */ color: oklch(67.2% 0.140 339.2);
Tailwind
colors: {
  custom: {
    50: '#de9cc9',
    500: '#cd71b2',
    950: '#000000',
  },
}
SCSS
$custom: #cd71b2;
$custom-light: #de9cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71b2",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 178
  },
  "hsl": {
    "h": 317.609,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.67225,
    "c": 0.14022,
    "h": 339.2
  },
  "luminance": 0.28004
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD71B2

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

Preview Lab → · Contrast checker → · Palette generator →

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