#CD7AB4#CD7AB4

#CD7AB4 is a light, vivid pink. Relative luminance 0.302; OKLCH L 68.7% C 0.126 H 339.1°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#CD7AB4
RGBrgb(205, 122, 180)
HSLhsl(318, 45%, 64%)
HSVhsv(318, 40%, 80%)
CMYKcmyk(0%, 40.5%, 12.2%, 19.6%)
CIE-LABlab(61.82, 40.42, -16.84)
CIE-LCHlch(61.82, 43.78, 337.38°)
OKLaboklab(68.7% 0.1179 -0.045)
OKLCHoklch(68.7% 0.126 339.1)
XYZxyz(40.3747, 30.1959, 46.8729)
Luminance0.3019 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7AB4 #7ACD93
analogous
#BD7ACD #CD7AB4 #CD7A8B
triadic
#CD7AB4 #B4CD7A #7AB4CD
tetradic
#CD7AB4 #CDBD7A #7ACD93 #7A8BCD
square
#CD7AB4 #CDBD7A #7ACD93 #7A8BCD
split-complementary
#CD7AB4 #8BCD7A #7ACDBD
monochromatic
#953879 #BC4E9B #CD7AB4 #DEA6CD #EED3E6

Accessibility & contrast

On white

2.98
#CD7AB4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#CD7AB4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7AB4
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7AB4#FFFFFF#000000##000000
##CD7AB41.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8DB6
Deuteranopia (green-blind)
#929AB2
Tritanopia (blue-blind)
#D67C8F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd7ab4;
/* rgb */ color: rgb(205, 122, 180);
/* oklch */ color: oklch(68.7% 0.126 339.1);
Tailwind
colors: {
  custom: {
    50: '#dea2ca',
    500: '#cd7ab4',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ab4;
$custom-light: #dea2ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ab4",
  "rgb": {
    "r": 205,
    "g": 122,
    "b": 180
  },
  "hsl": {
    "h": 318.072,
    "s": 45.355,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68699,
    "c": 0.12617,
    "h": 339.1
  },
  "luminance": 0.30193
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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