#CD7AB2#CD7AB2

#CD7AB2 is a light, vivid pink. Relative luminance 0.301; OKLCH L 68.6% C 0.125 H 340.3°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#CD7AB2
RGBrgb(205, 122, 178)
HSLhsl(320, 45%, 64%)
HSVhsv(320, 40%, 80%)
CMYKcmyk(0%, 40.5%, 13.2%, 19.6%)
CIE-LABlab(61.75, 40.09, -15.80)
CIE-LCHlch(61.75, 43.09, 338.48°)
OKLaboklab(68.62% 0.1173 -0.0421)
OKLCHoklch(68.62% 0.125 340.3)
XYZxyz(40.1724, 30.1150, 45.8077)
Luminance0.3011 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7AB2 #7ACD95
analogous
#BF7ACD #CD7AB2 #CD7A89
triadic
#CD7AB2 #B2CD7A #7AB2CD
tetradic
#CD7AB2 #CDBF7A #7ACD95 #7A89CD
square
#CD7AB2 #CDBF7A #7ACD95 #7A89CD
split-complementary
#CD7AB2 #89CD7A #7ACDBF
monochromatic
#953877 #BC4E98 #CD7AB2 #DEA6CC #EED3E6

Accessibility & contrast

On white

2.99
#CD7AB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#CD7AB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7AB2
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7AB2#FFFFFF#000000##000000
##CD7AB21.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8DB4
Deuteranopia (green-blind)
#939AB0
Tritanopia (blue-blind)
#D67B8F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd7ab2;
/* rgb */ color: rgb(205, 122, 178);
/* oklch */ color: oklch(68.6% 0.125 340.3);
Tailwind
colors: {
  custom: {
    50: '#dea2c9',
    500: '#cd7ab2',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ab2;
$custom-light: #dea2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ab2",
  "rgb": {
    "r": 205,
    "g": 122,
    "b": 178
  },
  "hsl": {
    "h": 319.518,
    "s": 45.355,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68623,
    "c": 0.12464,
    "h": 340.3
  },
  "luminance": 0.30113
}

Semantic roles & 50–950 ramp

primary
#CD7AB2
secondary
#C3E0CC
accent
#B95A2D
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD7AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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