#CD54A6#CD54A6

#CD54A6 is a light, vivid pink. Relative luminance 0.221; OKLCH L 62.8% C 0.178 H 342.1°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#CD54A6
RGBrgb(205, 84, 166)
HSLhsl(319, 55%, 57%)
HSVhsv(319, 59%, 80%)
CMYKcmyk(0%, 59%, 19%, 19.6%)
CIE-LABlab(54.11, 56.98, -20.52)
CIE-LCHlch(54.11, 60.56, 340.19°)
OKLaboklab(62.77% 0.1698 -0.0549)
OKLCHoklch(62.77% 0.178 342.1)
XYZxyz(35.2309, 22.0760, 38.4746)
Luminance0.2207 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD54A6 #54CD7B
analogous
#B854CD #CD54A6 #CD546A
triadic
#CD54A6 #A6CD54 #54A6CD
tetradic
#CD54A6 #CDB854 #54CD7B #546ACD
square
#CD54A6 #CDB854 #54CD7B #546ACD
split-complementary
#CD54A6 #6ACD54 #54CDB8
monochromatic
#812664 #B03488 #CD54A6 #DB83BF #E9B3D7

Accessibility & contrast

On white

3.88
#CD54A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#CD54A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD54A6
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD54A6#FFFFFF#000000##000000
##CD54A61.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C75A9
Deuteranopia (green-blind)
#7F89A3
Tritanopia (blue-blind)
#D95576
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cd54a6;
/* rgb */ color: rgb(205, 84, 166);
/* oklch */ color: oklch(62.8% 0.178 342.1);
Tailwind
colors: {
  custom: {
    50: '#df8ac0',
    500: '#cd54a6',
    950: '#000000',
  },
}
SCSS
$custom: #cd54a6;
$custom-light: #df8ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd54a6",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 166
  },
  "hsl": {
    "h": 319.339,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6277,
    "c": 0.17841,
    "h": 342.1
  },
  "luminance": 0.22073
}

Semantic roles & 50–950 ramp

primary
#CD54A6
secondary
#A6D7B6
accent
#DE7A4A
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CD54A6

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

Preview Lab → · Contrast checker → · Palette generator →

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