#CD548B#CD548B

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

Color values

HEX#CD548B
RGBrgb(205, 84, 139)
HSLhsl(333, 55%, 57%)
HSVhsv(333, 59%, 80%)
CMYKcmyk(0%, 59%, 32.2%, 19.6%)
CIE-LABlab(53.15, 53.38, -6.07)
CIE-LCHlch(53.15, 53.72, 353.52°)
OKLaboklab(61.75% 0.1625 -0.0153)
OKLCHoklch(61.75% 0.163 354.6)
XYZxyz(33.0090, 21.1872, 26.7723)
Luminance0.2118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD548B #54CD96
analogous
#CD54C8 #CD548B #CD5A54
triadic
#CD548B #8BCD54 #548BCD
tetradic
#CD548B #C8CD54 #54CD96 #5A54CD
square
#CD548B #C8CD54 #54CD96 #5A54CD
split-complementary
#CD548B #54CD5A #54C8CD
monochromatic
#81264F #B0346C #CD548B #DB83AB #E9B3CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD548B#FFFFFF#000000##000000
##CD548B1.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)
#66718D
Deuteranopia (green-blind)
#878788
Tritanopia (blue-blind)
#DC4C69
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cd548b;
/* rgb */ color: rgb(205, 84, 139);
/* oklch */ color: oklch(61.8% 0.163 354.6);
Tailwind
colors: {
  custom: {
    50: '#e08aac',
    500: '#cd548b',
    950: '#000000',
  },
}
SCSS
$custom: #cd548b;
$custom-light: #e08aac;
$custom-dark: #000000;
JSON
{
  "hex": "#cd548b",
  "rgb": {
    "r": 205,
    "g": 84,
    "b": 139
  },
  "hsl": {
    "h": 332.727,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61751,
    "c": 0.16321,
    "h": 354.6
  },
  "luminance": 0.21184
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD548B

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

Preview Lab → · Contrast checker → · Palette generator →

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