#CD7EA7#CD7EA7

#CD7EA7 is a light, moderate pink. Relative luminance 0.307; OKLCH L 68.9% C 0.110 H 348.0°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#CD7EA7
RGBrgb(205, 126, 167)
HSLhsl(329, 44%, 65%)
HSVhsv(329, 39%, 80%)
CMYKcmyk(0%, 38.5%, 18.5%, 19.6%)
CIE-LABlab(62.25, 36.21, -8.79)
CIE-LCHlch(62.25, 37.26, 346.35°)
OKLaboklab(68.88% 0.1077 -0.023)
OKLCHoklch(68.88% 0.11 348)
XYZxyz(39.6133, 30.6934, 40.3897)
Luminance0.3069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EA7 #7ECDA4
analogous
#CC7ECD #CD7EA7 #CD7E7F
triadic
#CD7EA7 #A7CD7E #7EA7CD
tetradic
#CD7EA7 #CDCC7E #7ECDA4 #7E7FCD
square
#CD7EA7 #CDCC7E #7ECDA4 #7E7FCD
split-complementary
#CD7EA7 #7FCD7E #7ECDCC
monochromatic
#963A6A #BC5289 #CD7EA7 #DEAAC5 #EFD6E3

Accessibility & contrast

On white

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

On black

7.14
#CD7EA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EA7
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EA7#FFFFFF#000000##000000
##CD7EA71.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#858EA8
Deuteranopia (green-blind)
#989BA5
Tritanopia (blue-blind)
#D77D8D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd7ea7;
/* rgb */ color: rgb(205, 126, 167);
/* oklch */ color: oklch(68.9% 0.110 348.0);
Tailwind
colors: {
  custom: {
    50: '#dea5c1',
    500: '#cd7ea7',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ea7;
$custom-light: #dea5c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ea7",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 167
  },
  "hsl": {
    "h": 328.861,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68878,
    "c": 0.11008,
    "h": 348
  },
  "luminance": 0.30691
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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