#CD54B3#CD54B3

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

Color values

HEX#CD54B3
RGBrgb(205, 84, 179)
HSLhsl(313, 55%, 57%)
HSVhsv(313, 59%, 80%)
CMYKcmyk(0%, 59%, 12.7%, 19.6%)
CIE-LABlab(54.63, 58.92, -27.27)
CIE-LCHlch(54.63, 64.93, 335.16°)
OKLaboklab(63.33% 0.1724 -0.0738)
OKLCHoklch(63.33% 0.188 336.8)
XYZxyz(36.4843, 22.5774, 45.0754)
Luminance0.2257 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54B3 #54CD6E
analogous
#AB54CD #CD54B3 #CD5477
triadic
#CD54B3 #B3CD54 #54B3CD
tetradic
#CD54B3 #CDAB54 #54CD6E #5477CD
square
#CD54B3 #CDAB54 #54CD6E #5477CD
split-complementary
#CD54B3 #77CD54 #54CDAB
monochromatic
#81266D #B03495 #CD54B3 #DB83C8 #E9B3DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD54B3#FFFFFF#000000##000000
##CD54B31.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)
#5677B6
Deuteranopia (green-blind)
#7B89B0
Tritanopia (blue-blind)
#D75A7C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd54b3;
/* rgb */ color: rgb(205, 84, 179);
/* oklch */ color: oklch(63.3% 0.188 336.8);
Tailwind
colors: {
  custom: {
    50: '#df8bca',
    500: '#cd54b3',
    950: '#000000',
  },
}
SCSS
$custom: #cd54b3;
$custom-light: #df8bca;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54b3",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 179
  },
  "hsl": {
    "h": 312.893,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63331,
    "c": 0.18754,
    "h": 336.8
  },
  "luminance": 0.22574
}

Semantic roles & 50–950 ramp

primary
#CD54B3
secondary
#A6D7B0
accent
#DE6A4A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CD54B3

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

Preview Lab → · Contrast checker → · Palette generator →

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