#CD7AAA#CD7AAA

#CD7AAA is a light, moderate pink. Relative luminance 0.298; OKLCH L 68.3% C 0.119 H 345.0°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#CD7AAA
RGBrgb(205, 122, 170)
HSLhsl(325, 45%, 64%)
HSVhsv(325, 40%, 80%)
CMYKcmyk(0%, 40.5%, 17.1%, 19.6%)
CIE-LABlab(61.48, 38.81, -11.65)
CIE-LCHlch(61.48, 40.52, 343.29°)
OKLaboklab(68.33% 0.1149 -0.0307)
OKLCHoklch(68.33% 0.119 345)
XYZxyz(39.3925, 29.8030, 41.7001)
Luminance0.2980 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7AAA #7ACD9D
analogous
#C77ACD #CD7AAA #CD7A81
triadic
#CD7AAA #AACD7A #7AAACD
tetradic
#CD7AAA #CDC77A #7ACD9D #7A81CD
square
#CD7AAA #CDC77A #7ACD9D #7A81CD
split-complementary
#CD7AAA #81CD7A #7ACDC7
monochromatic
#95386E #BC4E8E #CD7AAA #DEA6C6 #EED3E3

Accessibility & contrast

On white

3.02
#CD7AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#CD7AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD7AAA
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7AAA#FFFFFF#000000##000000
##CD7AAA1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#808CAC
Deuteranopia (green-blind)
#959AA8
Tritanopia (blue-blind)
#D7798B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cd7aaa;
/* rgb */ color: rgb(205, 122, 170);
/* oklch */ color: oklch(68.3% 0.119 345.0);
Tailwind
colors: {
  custom: {
    50: '#dea2c3',
    500: '#cd7aaa',
    950: '#000000',
  },
}
SCSS
$custom: #cd7aaa;
$custom-light: #dea2c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7aaa",
  "rgb": {
    "r": 205,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 325.301,
    "s": 45.355,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68331,
    "c": 0.11893,
    "h": 345
  },
  "luminance": 0.298
}

Semantic roles & 50–950 ramp

primary
#CD7AAA
secondary
#C3E0CF
accent
#B9682D
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CD7AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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