#CD548F#CD548F

#CD548F is a mid, vivid pink. Relative luminance 0.213; OKLCH L 61.9% C 0.165 H 352.6°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#CD548F
RGBrgb(205, 84, 143)
HSLhsl(331, 55%, 57%)
HSVhsv(331, 59%, 80%)
CMYKcmyk(0%, 59%, 30.2%, 19.6%)
CIE-LABlab(53.28, 53.87, -8.24)
CIE-LCHlch(53.28, 54.50, 351.30°)
OKLaboklab(61.89% 0.1637 -0.0212)
OKLCHoklch(61.89% 0.165 352.6)
XYZxyz(33.3066, 21.3063, 28.3397)
Luminance0.2130 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD548F #54CD92
analogous
#CD54CB #CD548F #CD5654
triadic
#CD548F #8FCD54 #548FCD
tetradic
#CD548F #CBCD54 #54CD92 #5654CD
square
#CD548F #CBCD54 #54CD92 #5654CD
split-complementary
#CD548F #54CD56 #54CBCD
monochromatic
#812652 #B03470 #CD548F #DB83AE #E9B3CD

Accessibility & contrast

On white

3.99
#CD548F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#CD548F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD548F
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD548F#FFFFFF#000000##000000
##CD548F1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#657291
Deuteranopia (green-blind)
#86878C
Tritanopia (blue-blind)
#DB4D6B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd548f;
/* rgb */ color: rgb(205, 84, 143);
/* oklch */ color: oklch(61.9% 0.165 352.6);
Tailwind
colors: {
  custom: {
    50: '#e08aaf',
    500: '#cd548f',
    950: '#000000',
  },
}
SCSS
$custom: #cd548f;
$custom-light: #e08aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cd548f",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 143
  },
  "hsl": {
    "h": 330.744,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61889,
    "c": 0.16508,
    "h": 352.6
  },
  "luminance": 0.21303
}

Semantic roles & 50–950 ramp

primary
#CD548F
secondary
#A6D7BF
accent
#DE964A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD548F

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

Preview Lab → · Contrast checker → · Palette generator →

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