#CD7EA1#CD7EA1

#CD7EA1 is a light, moderate pink. Relative luminance 0.305; OKLCH L 68.7% C 0.107 H 352.2°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#CD7EA1
RGBrgb(205, 126, 161)
HSLhsl(333, 44%, 65%)
HSVhsv(333, 39%, 80%)
CMYKcmyk(0%, 38.5%, 21.5%, 19.6%)
CIE-LABlab(62.06, 35.29, -5.64)
CIE-LCHlch(62.06, 35.74, 350.91°)
OKLaboklab(68.68% 0.1057 -0.0145)
OKLCHoklch(68.68% 0.107 352.2)
XYZxyz(39.0714, 30.4766, 37.5360)
Luminance0.3047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EA1 #7ECDAA
analogous
#CD7EC8 #CD7EA1 #CD837E
triadic
#CD7EA1 #A1CD7E #7EA1CD
tetradic
#CD7EA1 #C8CD7E #7ECDAA #837ECD
square
#CD7EA1 #C8CD7E #7ECDAA #837ECD
split-complementary
#CD7EA1 #7ECD83 #7EC8CD
monochromatic
#963A63 #BC5281 #CD7EA1 #DEAAC1 #EFD6E1

Accessibility & contrast

On white

2.96
#CD7EA1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#CD7EA1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EA1
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EA1#FFFFFF#000000##000000
##CD7EA11.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#868EA2
Deuteranopia (green-blind)
#9A9B9F
Tritanopia (blue-blind)
#D87B8A
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd7ea1;
/* rgb */ color: rgb(205, 126, 161);
/* oklch */ color: oklch(68.7% 0.107 352.2);
Tailwind
colors: {
  custom: {
    50: '#dea4bc',
    500: '#cd7ea1',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ea1;
$custom-light: #dea4bc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ea1",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 161
  },
  "hsl": {
    "h": 333.418,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68677,
    "c": 0.10664,
    "h": 352.2
  },
  "luminance": 0.30474
}

Semantic roles & 50–950 ramp

primary
#CD7EA1
secondary
#C6E1D5
accent
#B77B2E
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CD7EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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