#CD7EA9#CD7EA9

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

Color values

HEX#CD7EA9
RGBrgb(205, 126, 169)
HSLhsl(327, 44%, 65%)
HSVhsv(327, 39%, 80%)
CMYKcmyk(0%, 38.5%, 17.6%, 19.6%)
CIE-LABlab(62.31, 36.52, -9.84)
CIE-LCHlch(62.31, 37.82, 344.92°)
OKLaboklab(68.95% 0.1083 -0.0258)
OKLCHoklch(68.95% 0.111 346.6)
XYZxyz(39.7996, 30.7679, 41.3709)
Luminance0.3076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EA9 #7ECDA2
analogous
#CA7ECD #CD7EA9 #CD7E81
triadic
#CD7EA9 #A9CD7E #7EA9CD
tetradic
#CD7EA9 #CDCA7E #7ECDA2 #7E81CD
square
#CD7EA9 #CDCA7E #7ECDA2 #7E81CD
split-complementary
#CD7EA9 #81CD7E #7ECDCA
monochromatic
#963A6C #BC528C #CD7EA9 #DEAAC6 #EFD6E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD7EA9#FFFFFF#000000##000000
##CD7EA91.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)
#848FAB
Deuteranopia (green-blind)
#989CA7
Tritanopia (blue-blind)
#D77D8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd7ea9;
/* rgb */ color: rgb(205, 126, 169);
/* oklch */ color: oklch(68.9% 0.111 346.6);
Tailwind
colors: {
  custom: {
    50: '#dea5c2',
    500: '#cd7ea9',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ea9;
$custom-light: #dea5c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ea9",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 169
  },
  "hsl": {
    "h": 327.342,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68947,
    "c": 0.11134,
    "h": 346.6
  },
  "luminance": 0.30765
}

Semantic roles & 50–950 ramp

primary
#CD7EA9
secondary
#C6E1D2
accent
#B76D2E
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CD7EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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