#CD548A#CD548A

#CD548A is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.7% C 0.163 H 355.1°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#CD548A
RGBrgb(205, 84, 138)
HSLhsl(333, 55%, 57%)
HSVhsv(333, 59%, 80%)
CMYKcmyk(0%, 59%, 32.7%, 19.6%)
CIE-LABlab(53.12, 53.25, -5.52)
CIE-LCHlch(53.12, 53.54, 354.08°)
OKLaboklab(61.72% 0.1622 -0.0139)
OKLCHoklch(61.72% 0.163 355.1)
XYZxyz(32.9362, 21.1582, 26.3892)
Luminance0.2115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD548A #54CD97
analogous
#CD54C7 #CD548A #CD5B54
triadic
#CD548A #8ACD54 #548ACD
tetradic
#CD548A #C7CD54 #54CD97 #5B54CD
square
#CD548A #C7CD54 #54CD97 #5B54CD
split-complementary
#CD548A #54CD5B #54C7CD
monochromatic
#81264E #B0346B #CD548A #DB83AA #E9B3CB

Accessibility & contrast

On white

4.01
#CD548A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#CD548A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD548A
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD548A#FFFFFF#000000##000000
##CD548A1.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#66718C
Deuteranopia (green-blind)
#878787
Tritanopia (blue-blind)
#DC4C69
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd548a;
/* rgb */ color: rgb(205, 84, 138);
/* oklch */ color: oklch(61.7% 0.163 355.1);
Tailwind
colors: {
  custom: {
    50: '#e08aac',
    500: '#cd548a',
    950: '#000000',
  },
}
SCSS
$custom: #cd548a;
$custom-light: #e08aac;
$custom-dark: #000000;
JSON
{
  "hex": "#cd548a",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 138
  },
  "hsl": {
    "h": 333.223,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61717,
    "c": 0.16277,
    "h": 355.1
  },
  "luminance": 0.21155
}

Semantic roles & 50–950 ramp

primary
#CD548A
secondary
#A6D7C1
accent
#DE9C4A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD548A

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

Preview Lab → · Contrast checker → · Palette generator →

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