#CD7EA4#CD7EA4

#CD7EA4 is a light, moderate pink. Relative luminance 0.306; OKLCH L 68.8% C 0.108 H 350.0°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#CD7EA4
RGBrgb(205, 126, 164)
HSLhsl(331, 44%, 65%)
HSVhsv(331, 39%, 80%)
CMYKcmyk(0%, 38.5%, 20%, 19.6%)
CIE-LABlab(62.15, 35.75, -7.22)
CIE-LCHlch(62.15, 36.47, 348.58°)
OKLaboklab(68.78% 0.1067 -0.0187)
OKLCHoklch(68.78% 0.108 350)
XYZxyz(39.3392, 30.5837, 38.9460)
Luminance0.3058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EA4 #7ECDA7
analogous
#CD7ECC #CD7EA4 #CD7F7E
triadic
#CD7EA4 #A4CD7E #7EA4CD
tetradic
#CD7EA4 #CCCD7E #7ECDA7 #7F7ECD
square
#CD7EA4 #CCCD7E #7ECDA7 #7F7ECD
split-complementary
#CD7EA4 #7ECD7F #7ECCCD
monochromatic
#963A67 #BC5285 #CD7EA4 #DEAAC3 #EFD6E2

Accessibility & contrast

On white

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

On black

7.12
#CD7EA4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EA4
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EA4#FFFFFF#000000##000000
##CD7EA41.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#868EA5
Deuteranopia (green-blind)
#999BA2
Tritanopia (blue-blind)
#D87C8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd7ea4;
/* rgb */ color: rgb(205, 126, 164);
/* oklch */ color: oklch(68.8% 0.108 350.0);
Tailwind
colors: {
  custom: {
    50: '#dea4bf',
    500: '#cd7ea4',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ea4;
$custom-light: #dea4bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ea4",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 164
  },
  "hsl": {
    "h": 331.139,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68777,
    "c": 0.1083,
    "h": 350
  },
  "luminance": 0.30581
}

Semantic roles & 50–950 ramp

primary
#CD7EA4
secondary
#C6E1D4
accent
#B7752E
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CD7EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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