#CD7CB7#CD7CB7

#CD7CB7 is a light, vivid pink. Relative luminance 0.308; OKLCH L 69.1% C 0.125 H 337.7°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#CD7CB7
RGBrgb(205, 124, 183)
HSLhsl(316, 45%, 65%)
HSVhsv(316, 40%, 80%)
CMYKcmyk(0%, 39.5%, 10.7%, 19.6%)
CIE-LABlab(62.35, 39.86, -17.74)
CIE-LCHlch(62.35, 43.63, 336.01°)
OKLaboklab(69.13% 0.1157 -0.0475)
OKLCHoklch(69.13% 0.125 337.7)
XYZxyz(40.9317, 30.8156, 48.5826)
Luminance0.3081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CB7 #7CCD92
analogous
#BA7CCD #CD7CB7 #CD7C8F
triadic
#CD7CB7 #B7CD7C #7CB7CD
tetradic
#CD7CB7 #CDBA7C #7CCD92 #7C8FCD
square
#CD7CB7 #CDBA7C #7CCD92 #7C8FCD
split-complementary
#CD7CB7 #8FCD7C #7CCDBA
monochromatic
#96397C #BC509F #CD7CB7 #DEA8CF #EFD5E8

Accessibility & contrast

On white

2.93
#CD7CB7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#CD7CB7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CB7
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CB7#FFFFFF#000000##000000
##CD7CB71.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8FB9
Deuteranopia (green-blind)
#939BB5
Tritanopia (blue-blind)
#D57E92
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd7cb7;
/* rgb */ color: rgb(205, 124, 183);
/* oklch */ color: oklch(69.1% 0.125 337.7);
Tailwind
colors: {
  custom: {
    50: '#dea3cc',
    500: '#cd7cb7',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cb7;
$custom-light: #dea3cc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cb7",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 183
  },
  "hsl": {
    "h": 316.296,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69133,
    "c": 0.12504,
    "h": 337.7
  },
  "luminance": 0.30813
}

Semantic roles & 50–950 ramp

primary
#CD7CB7
secondary
#C4E0CC
accent
#B8532E
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD7CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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