#CD7CB2#CD7CB2

#CD7CB2 is a light, vivid pink. Relative luminance 0.306; OKLCH L 68.9% C 0.121 H 340.5°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#CD7CB2
RGBrgb(205, 124, 178)
HSLhsl(320, 45%, 65%)
HSVhsv(320, 40%, 80%)
CMYKcmyk(0%, 39.5%, 13.2%, 19.6%)
CIE-LABlab(62.18, 39.03, -15.16)
CIE-LCHlch(62.18, 41.87, 338.77°)
OKLaboklab(68.94% 0.1142 -0.0403)
OKLCHoklch(68.94% 0.121 340.5)
XYZxyz(40.4205, 30.6112, 45.8904)
Luminance0.3061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CB2 #7CCD97
analogous
#C07CCD #CD7CB2 #CD7C8A
triadic
#CD7CB2 #B2CD7C #7CB2CD
tetradic
#CD7CB2 #CDC07C #7CCD97 #7C8ACD
square
#CD7CB2 #CDC07C #7CCD97 #7C8ACD
split-complementary
#CD7CB2 #8ACD7C #7CCDC0
monochromatic
#963977 #BC5098 #CD7CB2 #DEA8CC #EFD5E6

Accessibility & contrast

On white

2.95
#CD7CB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#CD7CB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CB2
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CB2#FFFFFF#000000##000000
##CD7CB21.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8EB4
Deuteranopia (green-blind)
#949BB0
Tritanopia (blue-blind)
#D67D90
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd7cb2;
/* rgb */ color: rgb(205, 124, 178);
/* oklch */ color: oklch(68.9% 0.121 340.5);
Tailwind
colors: {
  custom: {
    50: '#dea3c9',
    500: '#cd7cb2',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cb2;
$custom-light: #dea3c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cb2",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 178
  },
  "hsl": {
    "h": 320,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68944,
    "c": 0.12114,
    "h": 340.5
  },
  "luminance": 0.30609
}

Semantic roles & 50–950 ramp

primary
#CD7CB2
secondary
#C4E0CE
accent
#B85C2E
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD7CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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