#CD548C#CD548C

#CD548C is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.8% C 0.164 H 354.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#CD548C
RGBrgb(205, 84, 140)
HSLhsl(332, 55%, 57%)
HSVhsv(332, 59%, 80%)
CMYKcmyk(0%, 59%, 31.7%, 19.6%)
CIE-LABlab(53.19, 53.50, -6.61)
CIE-LCHlch(53.19, 53.91, 352.96°)
OKLaboklab(61.79% 0.1628 -0.0168)
OKLCHoklch(61.79% 0.164 354.1)
XYZxyz(33.0824, 21.2166, 27.1588)
Luminance0.2121 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD548C #54CD95
analogous
#CD54C9 #CD548C #CD5954
triadic
#CD548C #8CCD54 #548CCD
tetradic
#CD548C #C9CD54 #54CD95 #5954CD
square
#CD548C #C9CD54 #54CD95 #5954CD
split-complementary
#CD548C #54CD59 #54C9CD
monochromatic
#812650 #B0346D #CD548C #DB83AC #E9B3CC

Accessibility & contrast

On white

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

On black

5.24
#CD548C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD548C
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD548C#FFFFFF#000000##000000
##CD548C1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#66718E
Deuteranopia (green-blind)
#878789
Tritanopia (blue-blind)
#DC4D6A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd548c;
/* rgb */ color: rgb(205, 84, 140);
/* oklch */ color: oklch(61.8% 0.164 354.1);
Tailwind
colors: {
  custom: {
    50: '#e08aad',
    500: '#cd548c',
    950: '#000000',
  },
}
SCSS
$custom: #cd548c;
$custom-light: #e08aad;
$custom-dark: #000000;
JSON
{
  "hex": "#cd548c",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 140
  },
  "hsl": {
    "h": 332.231,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61785,
    "c": 0.16366,
    "h": 354.1
  },
  "luminance": 0.21213
}

Semantic roles & 50–950 ramp

primary
#CD548C
secondary
#A6D7C0
accent
#DE994A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CD548C

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

Preview Lab → · Contrast checker → · Palette generator →

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