#CD7EA5#CD7EA5

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

Color values

HEX#CD7EA5
RGBrgb(205, 126, 165)
HSLhsl(330, 44%, 65%)
HSVhsv(330, 39%, 80%)
CMYKcmyk(0%, 38.5%, 19.5%, 19.6%)
CIE-LABlab(62.19, 35.90, -7.75)
CIE-LCHlch(62.19, 36.72, 347.82°)
OKLaboklab(68.81% 0.107 -0.0201)
OKLCHoklch(68.81% 0.109 349.3)
XYZxyz(39.4298, 30.6200, 39.4235)
Luminance0.3062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EA5 #7ECDA6
analogous
#CD7ECC #CD7EA5 #CD7F7E
triadic
#CD7EA5 #A5CD7E #7EA5CD
tetradic
#CD7EA5 #CCCD7E #7ECDA6 #7F7ECD
square
#CD7EA5 #CCCD7E #7ECDA6 #7F7ECD
split-complementary
#CD7EA5 #7ECD7F #7ECCCD
monochromatic
#963A68 #BC5286 #CD7EA5 #DEAAC4 #EFD6E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD7EA5#FFFFFF#000000##000000
##CD7EA51.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)
#858EA6
Deuteranopia (green-blind)
#999BA3
Tritanopia (blue-blind)
#D87C8C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd7ea5;
/* rgb */ color: rgb(205, 126, 165);
/* oklch */ color: oklch(68.8% 0.109 349.3);
Tailwind
colors: {
  custom: {
    50: '#dea5bf',
    500: '#cd7ea5',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ea5;
$custom-light: #dea5bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ea5",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 165
  },
  "hsl": {
    "h": 330.38,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6881,
    "c": 0.10888,
    "h": 349.3
  },
  "luminance": 0.30617
}

Semantic roles & 50–950 ramp

primary
#CD7EA5
secondary
#C6E1D4
accent
#B7742E
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CD7EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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