#CD7CB5#CD7CB5

#CD7CB5 is a light, vivid pink. Relative luminance 0.307; OKLCH L 69.1% C 0.123 H 338.8°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#CD7CB5
RGBrgb(205, 124, 181)
HSLhsl(318, 45%, 65%)
HSVhsv(318, 40%, 80%)
CMYKcmyk(0%, 39.5%, 11.7%, 19.6%)
CIE-LABlab(62.28, 39.52, -16.71)
CIE-LCHlch(62.28, 42.91, 337.08°)
OKLaboklab(69.06% 0.1151 -0.0446)
OKLCHoklch(69.06% 0.123 338.8)
XYZxyz(40.7251, 30.7330, 47.4941)
Luminance0.3073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CB5 #7CCD94
analogous
#BD7CCD #CD7CB5 #CD7C8D
triadic
#CD7CB5 #B5CD7C #7CB5CD
tetradic
#CD7CB5 #CDBD7C #7CCD94 #7C8DCD
square
#CD7CB5 #CDBD7C #7CCD94 #7C8DCD
split-complementary
#CD7CB5 #8DCD7C #7CCDBD
monochromatic
#96397A #BC509C #CD7CB5 #DEA8CE #EFD5E7

Accessibility & contrast

On white

2.94
#CD7CB5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#CD7CB5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CB5
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CB5#FFFFFF#000000##000000
##CD7CB51.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F8FB7
Deuteranopia (green-blind)
#939BB3
Tritanopia (blue-blind)
#D57E91
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd7cb5;
/* rgb */ color: rgb(205, 124, 181);
/* oklch */ color: oklch(69.1% 0.123 338.8);
Tailwind
colors: {
  custom: {
    50: '#dea3cb',
    500: '#cd7cb5',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cb5;
$custom-light: #dea3cb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cb5",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 181
  },
  "hsl": {
    "h": 317.778,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69057,
    "c": 0.12345,
    "h": 338.8
  },
  "luminance": 0.30731
}

Semantic roles & 50–950 ramp

primary
#CD7CB5
secondary
#C4E0CD
accent
#B8572E
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD7CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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