#CC548B#CC548B

#CC548B is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.6% C 0.162 H 354.3°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#CC548B
RGBrgb(204, 84, 139)
HSLhsl(333, 54%, 56%)
HSVhsv(333, 59%, 80%)
CMYKcmyk(0%, 58.8%, 31.9%, 20%)
CIE-LABlab(53.00, 53.06, -6.31)
CIE-LCHlch(53.00, 53.44, 353.22°)
OKLaboklab(61.61% 0.1615 -0.016)
OKLCHoklch(61.61% 0.162 354.3)
XYZxyz(32.7339, 21.0454, 26.7594)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC548B #54CC95
analogous
#CC54C7 #CC548B #CC5954
triadic
#CC548B #8BCC54 #548BCC
tetradic
#CC548B #C7CC54 #54CC95 #5954CC
square
#CC548B #C7CC54 #54CC95 #5954CC
split-complementary
#CC548B #54CC59 #54C7CC
monochromatic
#80264F #AF346C #CC548B #DA83AB #E8B2CB

Accessibility & contrast

On white

4.03
#CC548B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#CC548B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC548B
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC548B#FFFFFF#000000##000000
##CC548B1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#66718D
Deuteranopia (green-blind)
#868788
Tritanopia (blue-blind)
#DB4D69
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc548b;
/* rgb */ color: rgb(204, 84, 139);
/* oklch */ color: oklch(61.6% 0.162 354.3);
Tailwind
colors: {
  custom: {
    50: '#df8aac',
    500: '#cc548b',
    950: '#000000',
  },
}
SCSS
$custom: #cc548b;
$custom-light: #df8aac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc548b",
  "rgb": {
    "r": 204,
    "g": 84,
    "b": 139
  },
  "hsl": {
    "h": 332.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61605,
    "c": 0.16227,
    "h": 354.3
  },
  "luminance": 0.21042
}

Semantic roles & 50–950 ramp

primary
#CC548B
secondary
#A5D7C0
accent
#DD9A4A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CC548B

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

Preview Lab → · Contrast checker → · Palette generator →

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