#CD7CB6#CD7CB6

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

Color values

HEX#CD7CB6
RGBrgb(205, 124, 182)
HSLhsl(317, 45%, 65%)
HSVhsv(317, 40%, 80%)
CMYKcmyk(0%, 39.5%, 11.2%, 19.6%)
CIE-LABlab(62.32, 39.69, -17.22)
CIE-LCHlch(62.32, 43.27, 336.54°)
OKLaboklab(69.1% 0.1154 -0.046)
OKLCHoklch(69.1% 0.124 338.2)
XYZxyz(40.8280, 30.7742, 48.0364)
Luminance0.3077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CB6 #7CCD93
analogous
#BC7CCD #CD7CB6 #CD7C8E
triadic
#CD7CB6 #B6CD7C #7CB6CD
tetradic
#CD7CB6 #CDBC7C #7CCD93 #7C8ECD
square
#CD7CB6 #CDBC7C #7CCD93 #7C8ECD
split-complementary
#CD7CB6 #8ECD7C #7CCDBC
monochromatic
#96397B #BC509D #CD7CB6 #DEA8CF #EFD5E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD7CB6#FFFFFF#000000##000000
##CD7CB61.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)
#7E8FB8
Deuteranopia (green-blind)
#939BB4
Tritanopia (blue-blind)
#D57E91
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd7cb6;
/* rgb */ color: rgb(205, 124, 182);
/* oklch */ color: oklch(69.1% 0.124 338.2);
Tailwind
colors: {
  custom: {
    50: '#dea3cc',
    500: '#cd7cb6',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cb6;
$custom-light: #dea3cc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cb6",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 182
  },
  "hsl": {
    "h": 317.037,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69095,
    "c": 0.12424,
    "h": 338.2
  },
  "luminance": 0.30772
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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