#CD54B4#CD54B4

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

Color values

HEX#CD54B4
RGBrgb(205, 84, 180)
HSLhsl(312, 55%, 57%)
HSVhsv(312, 59%, 80%)
CMYKcmyk(0%, 59%, 12.2%, 19.6%)
CIE-LABlab(54.68, 59.07, -27.79)
CIE-LCHlch(54.68, 65.28, 334.81°)
OKLaboklab(63.38% 0.1726 -0.0753)
OKLCHoklch(63.38% 0.188 336.4)
XYZxyz(36.5858, 22.6180, 45.6100)
Luminance0.2261 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54B4 #54CD6D
analogous
#AA54CD #CD54B4 #CD5478
triadic
#CD54B4 #B4CD54 #54B4CD
tetradic
#CD54B4 #CDAA54 #54CD6D #5478CD
square
#CD54B4 #CDAA54 #54CD6D #5478CD
split-complementary
#CD54B4 #78CD54 #54CDAA
monochromatic
#81266E #B03496 #CD54B4 #DB83C9 #E9B3DE

Accessibility & contrast

On white

3.80
#CD54B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#CD54B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54B4
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54B4#FFFFFF#000000##000000
##CD54B41.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5677B7
Deuteranopia (green-blind)
#7B8AB1
Tritanopia (blue-blind)
#D75A7C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cd54b4;
/* rgb */ color: rgb(205, 84, 180);
/* oklch */ color: oklch(63.4% 0.188 336.4);
Tailwind
colors: {
  custom: {
    50: '#df8bca',
    500: '#cd54b4',
    950: '#000000',
  },
}
SCSS
$custom: #cd54b4;
$custom-light: #df8bca;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54b4",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 180
  },
  "hsl": {
    "h": 312.397,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63376,
    "c": 0.18829,
    "h": 336.4
  },
  "luminance": 0.22615
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD54B4

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

Preview Lab → · Contrast checker → · Palette generator →

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