#CD4AA2#CD4AA2

#CD4AA2 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.5% C 0.190 H 343.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#CD4AA2
RGBrgb(205, 74, 162)
HSLhsl(320, 57%, 55%)
HSVhsv(320, 64%, 80%)
CMYKcmyk(0%, 63.9%, 21%, 19.6%)
CIE-LABlab(52.39, 60.69, -20.81)
CIE-LCHlch(52.39, 64.16, 341.07°)
OKLaboklab(61.45% 0.1818 -0.0556)
OKLCHoklch(61.45% 0.19 343)
XYZxyz(34.1482, 20.4885, 36.3317)
Luminance0.2049 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4AA2 #4ACD75
analogous
#B74ACD #CD4AA2 #CD4A60
triadic
#CD4AA2 #A2CD4A #4AA2CD
tetradic
#CD4AA2 #CDB74A #4ACD75 #4A60CD
square
#CD4AA2 #CDB74A #4ACD75 #4A60CD
split-complementary
#CD4AA2 #60CD4A #4ACDB7
monochromatic
#7B225E #AB2F82 #CD4AA2 #DA7ABB #E7AAD3

Accessibility & contrast

On white

4.12
#CD4AA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#CD4AA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4AA2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4AA2#FFFFFF#000000##000000
##CD4AA21.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#556FA5
Deuteranopia (green-blind)
#7C859F
Tritanopia (blue-blind)
#D94A6F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cd4aa2;
/* rgb */ color: rgb(205, 74, 162);
/* oklch */ color: oklch(61.5% 0.190 343.0);
Tailwind
colors: {
  custom: {
    50: '#e085bd',
    500: '#cd4aa2',
    950: '#000000',
  },
}
SCSS
$custom: #cd4aa2;
$custom-light: #e085bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4aa2",
  "rgb": {
    "r": 205,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 319.695,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61451,
    "c": 0.19013,
    "h": 343
  },
  "luminance": 0.20485
}

Semantic roles & 50–950 ramp

primary
#CD4AA2
secondary
#9ED5B0
accent
#E07A48
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD4AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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