#CD71B3#CD71B3

#CD71B3 is a light, vivid pink. Relative luminance 0.280; OKLCH L 67.3% C 0.141 H 338.7°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#CD71B3
RGBrgb(205, 113, 179)
HSLhsl(317, 48%, 62%)
HSVhsv(317, 45%, 80%)
CMYKcmyk(0%, 44.9%, 12.7%, 19.6%)
CIE-LABlab(59.93, 44.95, -19.14)
CIE-LCHlch(59.93, 48.86, 336.93°)
OKLaboklab(67.26% 0.1313 -0.0513)
OKLCHoklch(67.26% 0.141 338.7)
XYZxyz(39.2189, 28.0466, 45.9869)
Luminance0.2804 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71B3 #71CD8B
analogous
#B971CD #CD71B3 #CD7185
triadic
#CD71B3 #B3CD71 #71B3CD
tetradic
#CD71B3 #CDB971 #71CD8B #7185CD
square
#CD71B3 #CDB971 #71CD8B #7185CD
split-complementary
#CD71B3 #85CD71 #71CDB9
monochromatic
#913376 #BD449B #CD71B3 #DD9ECB #EDCCE3

Accessibility & contrast

On white

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

On black

6.61
#CD71B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD71B3
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71B3#FFFFFF#000000##000000
##CD71B31.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7488B5
Deuteranopia (green-blind)
#8C96B0
Tritanopia (blue-blind)
#D6738A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cd71b3;
/* rgb */ color: rgb(205, 113, 179);
/* oklch */ color: oklch(67.3% 0.141 338.7);
Tailwind
colors: {
  custom: {
    50: '#de9cc9',
    500: '#cd71b3',
    950: '#000000',
  },
}
SCSS
$custom: #cd71b3;
$custom-light: #de9cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71b3",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 179
  },
  "hsl": {
    "h": 316.957,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.67264,
    "c": 0.14098,
    "h": 338.7
  },
  "luminance": 0.28044
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD71B3

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

Preview Lab → · Contrast checker → · Palette generator →

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