#CD54A2#CD54A2

#CD54A2 is a light, vivid pink. Relative luminance 0.219; OKLCH L 62.6% C 0.176 H 343.8°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#CD54A2
RGBrgb(205, 84, 162)
HSLhsl(321, 55%, 57%)
HSVhsv(321, 59%, 80%)
CMYKcmyk(0%, 59%, 21%, 19.6%)
CIE-LABlab(53.95, 56.41, -18.41)
CIE-LCHlch(53.95, 59.34, 341.92°)
OKLaboklab(62.61% 0.1689 -0.049)
OKLCHoklch(62.61% 0.176 343.8)
XYZxyz(34.8697, 21.9315, 36.5722)
Luminance0.2193 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54A2 #54CD7F
analogous
#BB54CD #CD54A2 #CD5466
triadic
#CD54A2 #A2CD54 #54A2CD
tetradic
#CD54A2 #CDBB54 #54CD7F #5466CD
square
#CD54A2 #CDBB54 #54CD7F #5466CD
split-complementary
#CD54A2 #66CD54 #54CDBB
monochromatic
#812660 #B03484 #CD54A2 #DB83BC #E9B3D6

Accessibility & contrast

On white

3.90
#CD54A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#CD54A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54A2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54A2#FFFFFF#000000##000000
##CD54A21.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E74A4
Deuteranopia (green-blind)
#81889F
Tritanopia (blue-blind)
#D95474
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd54a2;
/* rgb */ color: rgb(205, 84, 162);
/* oklch */ color: oklch(62.6% 0.176 343.8);
Tailwind
colors: {
  custom: {
    50: '#df8abd',
    500: '#cd54a2',
    950: '#000000',
  },
}
SCSS
$custom: #cd54a2;
$custom-light: #df8abd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54a2",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 162
  },
  "hsl": {
    "h": 321.322,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62607,
    "c": 0.17581,
    "h": 343.8
  },
  "luminance": 0.21928
}

Semantic roles & 50–950 ramp

primary
#CD54A2
secondary
#A6D7B7
accent
#DE7E4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD54A2

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

Preview Lab → · Contrast checker → · Palette generator →

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