#CD7EA8#CD7EA8

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

Color values

HEX#CD7EA8
RGBrgb(205, 126, 168)
HSLhsl(328, 44%, 65%)
HSVhsv(328, 39%, 80%)
CMYKcmyk(0%, 38.5%, 18%, 19.6%)
CIE-LABlab(62.28, 36.36, -9.32)
CIE-LCHlch(62.28, 37.54, 345.63°)
OKLaboklab(68.91% 0.108 -0.0244)
OKLCHoklch(68.91% 0.111 347.3)
XYZxyz(39.7061, 30.7305, 40.8784)
Luminance0.3073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EA8 #7ECDA3
analogous
#CA7ECD #CD7EA8 #CD7E81
triadic
#CD7EA8 #A8CD7E #7EA8CD
tetradic
#CD7EA8 #CDCA7E #7ECDA3 #7E81CD
square
#CD7EA8 #CDCA7E #7ECDA3 #7E81CD
split-complementary
#CD7EA8 #81CD7E #7ECDCA
monochromatic
#963A6B #BC528A #CD7EA8 #DEAAC6 #EFD6E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD7EA8#FFFFFF#000000##000000
##CD7EA81.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)
#848FAA
Deuteranopia (green-blind)
#989BA6
Tritanopia (blue-blind)
#D77D8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd7ea8;
/* rgb */ color: rgb(205, 126, 168);
/* oklch */ color: oklch(68.9% 0.111 347.3);
Tailwind
colors: {
  custom: {
    50: '#dea5c1',
    500: '#cd7ea8',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ea8;
$custom-light: #dea5c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ea8",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 168
  },
  "hsl": {
    "h": 328.101,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68913,
    "c": 0.11071,
    "h": 347.3
  },
  "luminance": 0.30728
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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