#CD7AB5#CD7AB5

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

Color values

HEX#CD7AB5
RGBrgb(205, 122, 181)
HSLhsl(317, 45%, 64%)
HSVhsv(317, 40%, 80%)
CMYKcmyk(0%, 40.5%, 11.7%, 19.6%)
CIE-LABlab(61.86, 40.58, -17.35)
CIE-LCHlch(61.86, 44.14, 336.85°)
OKLaboklab(68.74% 0.1182 -0.0464)
OKLCHoklch(68.74% 0.127 338.6)
XYZxyz(40.4770, 30.2368, 47.4114)
Luminance0.3023 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7AB5 #7ACD92
analogous
#BC7ACD #CD7AB5 #CD7A8C
triadic
#CD7AB5 #B5CD7A #7AB5CD
tetradic
#CD7AB5 #CDBC7A #7ACD92 #7A8CCD
square
#CD7AB5 #CDBC7A #7ACD92 #7A8CCD
split-complementary
#CD7AB5 #8CCD7A #7ACDBC
monochromatic
#95387A #BC4E9C #CD7AB5 #DEA6CE #EED3E6

Accessibility & contrast

On white

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

On black

7.05
#CD7AB5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7AB5
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7AB5#FFFFFF#000000##000000
##CD7AB51.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8EB7
Deuteranopia (green-blind)
#929AB3
Tritanopia (blue-blind)
#D67C90
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd7ab5;
/* rgb */ color: rgb(205, 122, 181);
/* oklch */ color: oklch(68.7% 0.127 338.6);
Tailwind
colors: {
  custom: {
    50: '#dea2cb',
    500: '#cd7ab5',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ab5;
$custom-light: #dea2cb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ab5",
  "rgb": {
    "r": 205,
    "g": 122,
    "b": 181
  },
  "hsl": {
    "h": 317.349,
    "s": 45.355,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68737,
    "c": 0.12696,
    "h": 338.6
  },
  "luminance": 0.30234
}

Semantic roles & 50–950 ramp

primary
#CD7AB5
secondary
#C3E0CB
accent
#B9552D
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CD7AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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