#CD5AAA#CD5AAA

#CD5AAA is a light, vivid pink. Relative luminance 0.232; OKLCH L 63.7% C 0.172 H 340.9°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#CD5AAA
RGBrgb(205, 90, 170)
HSLhsl(318, 53%, 58%)
HSVhsv(318, 56%, 80%)
CMYKcmyk(0%, 56.1%, 17.1%, 19.6%)
CIE-LABlab(55.27, 54.85, -21.06)
CIE-LCHlch(55.27, 58.75, 338.99°)
OKLaboklab(63.68% 0.1625 -0.0564)
OKLCHoklch(63.68% 0.172 340.9)
XYZxyz(36.0894, 23.1967, 40.5991)
Luminance0.2319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5AAA #5ACD7D
analogous
#B65ACD #CD5AAA #CD5A70
triadic
#CD5AAA #AACD5A #5AAACD
tetradic
#CD5AAA #CDB65A #5ACD7D #5A70CD
square
#CD5AAA #CDB65A #5ACD7D #5A70CD
split-complementary
#CD5AAA #70CD5A #5ACDB6
monochromatic
#842868 #B3368D #CD5AAA #DB89C2 #E9B8DA

Accessibility & contrast

On white

3.72
#CD5AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#CD5AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5AAA
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5AAA#FFFFFF#000000##000000
##CD5AAA1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6079AD
Deuteranopia (green-blind)
#818BA7
Tritanopia (blue-blind)
#D85C7A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cd5aaa;
/* rgb */ color: rgb(205, 90, 170);
/* oklch */ color: oklch(63.7% 0.172 340.9);
Tailwind
colors: {
  custom: {
    50: '#df8ec3',
    500: '#cd5aaa',
    950: '#000000',
  },
}
SCSS
$custom: #cd5aaa;
$custom-light: #df8ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5aaa",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 318.261,
    "s": 53.488,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63683,
    "c": 0.17203,
    "h": 340.9
  },
  "luminance": 0.23194
}

Semantic roles & 50–950 ramp

primary
#CD5AAA
secondary
#AAD8B8
accent
#DD774B
background
#FEF9FC
surface
#FCF1F8
border
#D5CBD1
text
#160D12
muted
#847E81

Preview Lab

Preview with #CD5AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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