#CD7EA6#CD7EA6

#CD7EA6 is a light, moderate pink. Relative luminance 0.307; OKLCH L 68.8% C 0.109 H 348.6°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#CD7EA6
RGBrgb(205, 126, 166)
HSLhsl(330, 44%, 65%)
HSVhsv(330, 39%, 80%)
CMYKcmyk(0%, 38.5%, 19%, 19.6%)
CIE-LABlab(62.22, 36.05, -8.27)
CIE-LCHlch(62.22, 36.99, 347.08°)
OKLaboklab(68.84% 0.1073 -0.0216)
OKLCHoklch(68.84% 0.109 348.6)
XYZxyz(39.5212, 30.6565, 39.9047)
Luminance0.3065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EA6 #7ECDA5
analogous
#CC7ECD #CD7EA6 #CD7E7F
triadic
#CD7EA6 #A6CD7E #7EA6CD
tetradic
#CD7EA6 #CDCC7E #7ECDA5 #7E7FCD
square
#CD7EA6 #CDCC7E #7ECDA5 #7E7FCD
split-complementary
#CD7EA6 #7FCD7E #7ECDCC
monochromatic
#963A69 #BC5288 #CD7EA6 #DEAAC4 #EFD6E3

Accessibility & contrast

On white

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

On black

7.13
#CD7EA6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EA6
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EA6#FFFFFF#000000##000000
##CD7EA61.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#858EA7
Deuteranopia (green-blind)
#999BA4
Tritanopia (blue-blind)
#D77C8C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd7ea6;
/* rgb */ color: rgb(205, 126, 166);
/* oklch */ color: oklch(68.8% 0.109 348.6);
Tailwind
colors: {
  custom: {
    50: '#dea5c0',
    500: '#cd7ea6',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ea6;
$custom-light: #dea5c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ea6",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 166
  },
  "hsl": {
    "h": 329.62,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68844,
    "c": 0.10947,
    "h": 348.6
  },
  "luminance": 0.30654
}

Semantic roles & 50–950 ramp

primary
#CD7EA6
secondary
#C6E1D3
accent
#B7722E
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CD7EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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