#CD54B2#CD54B2

#CD54B2 is a light, vivid pink. Relative luminance 0.225; OKLCH L 63.3% C 0.187 H 337.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#CD54B2
RGBrgb(205, 84, 178)
HSLhsl(313, 55%, 57%)
HSVhsv(313, 59%, 80%)
CMYKcmyk(0%, 59%, 13.2%, 19.6%)
CIE-LABlab(54.59, 58.77, -26.76)
CIE-LCHlch(54.59, 64.57, 335.52°)
OKLaboklab(63.29% 0.1722 -0.0724)
OKLCHoklch(63.29% 0.187 337.2)
XYZxyz(36.3835, 22.5370, 44.5447)
Luminance0.2253 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54B2 #54CD6F
analogous
#AB54CD #CD54B2 #CD5476
triadic
#CD54B2 #B2CD54 #54B2CD
tetradic
#CD54B2 #CDAB54 #54CD6F #5476CD
square
#CD54B2 #CDAB54 #54CD6F #5476CD
split-complementary
#CD54B2 #76CD54 #54CDAB
monochromatic
#81266D #B03494 #CD54B2 #DB83C7 #E9B3DD

Accessibility & contrast

On white

3.81
#CD54B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#CD54B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54B2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54B2#FFFFFF#000000##000000
##CD54B21.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5777B5
Deuteranopia (green-blind)
#7B89AF
Tritanopia (blue-blind)
#D7597B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd54b2;
/* rgb */ color: rgb(205, 84, 178);
/* oklch */ color: oklch(63.3% 0.187 337.2);
Tailwind
colors: {
  custom: {
    50: '#df8bc9',
    500: '#cd54b2',
    950: '#000000',
  },
}
SCSS
$custom: #cd54b2;
$custom-light: #df8bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54b2",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 178
  },
  "hsl": {
    "h": 313.388,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63286,
    "c": 0.18681,
    "h": 337.2
  },
  "luminance": 0.22534
}

Semantic roles & 50–950 ramp

primary
#CD54B2
secondary
#A6D7B1
accent
#DE6B4A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CD54B2

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

Preview Lab → · Contrast checker → · Palette generator →

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