#CD7CB1#CD7CB1

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

Color values

HEX#CD7CB1
RGBrgb(205, 124, 177)
HSLhsl(321, 45%, 65%)
HSVhsv(321, 40%, 80%)
CMYKcmyk(0%, 39.5%, 13.7%, 19.6%)
CIE-LABlab(62.14, 38.87, -14.64)
CIE-LCHlch(62.14, 41.53, 339.35°)
OKLaboklab(68.91% 0.1139 -0.0389)
OKLCHoklch(68.91% 0.12 341.1)
XYZxyz(40.3205, 30.5712, 45.3635)
Luminance0.3057 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CB1 #7CCD98
analogous
#C17CCD #CD7CB1 #CD7C89
triadic
#CD7CB1 #B1CD7C #7CB1CD
tetradic
#CD7CB1 #CDC17C #7CCD98 #7C89CD
square
#CD7CB1 #CDC17C #7CCD98 #7C89CD
split-complementary
#CD7CB1 #89CD7C #7CCDC1
monochromatic
#963976 #BC5097 #CD7CB1 #DEA8CB #EFD5E6

Accessibility & contrast

On white

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

On black

7.11
#CD7CB1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CB1
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CB1#FFFFFF#000000##000000
##CD7CB11.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#808EB3
Deuteranopia (green-blind)
#949BAF
Tritanopia (blue-blind)
#D67D8F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd7cb1;
/* rgb */ color: rgb(205, 124, 177);
/* oklch */ color: oklch(68.9% 0.120 341.1);
Tailwind
colors: {
  custom: {
    50: '#dea3c8',
    500: '#cd7cb1',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cb1;
$custom-light: #dea3c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cb1",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 177
  },
  "hsl": {
    "h": 320.741,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68907,
    "c": 0.12039,
    "h": 341.1
  },
  "luminance": 0.30569
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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