#CC4897#CC4897

#CC4897 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.6% C 0.185 H 347.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CC4897
RGBrgb(204, 72, 151)
HSLhsl(324, 56%, 54%)
HSVhsv(324, 65%, 80%)
CMYKcmyk(0%, 64.7%, 26%, 20%)
CIE-LABlab(51.51, 59.75, -15.67)
CIE-LCHlch(51.51, 61.77, 345.30°)
OKLaboklab(60.64% 0.1808 -0.0413)
OKLCHoklch(60.64% 0.185 347.1)
XYZxyz(32.8064, 19.7098, 31.3488)
Luminance0.1971 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4897 #48CC7D
analogous
#BF48CC #CC4897 #CC4855
triadic
#CC4897 #97CC48 #4897CC
tetradic
#CC4897 #CCBF48 #48CC7D #4855CC
square
#CC4897 #CCBF48 #48CC7D #4855CC
split-complementary
#CC4897 #55CC48 #48CCBF
monochromatic
#782155 #A82F77 #CC4897 #D978B2 #E7A8CD

Accessibility & contrast

On white

4.25
#CC4897 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CC4897 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4897
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4897#FFFFFF#000000##000000
##CC48971.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#586C99
Deuteranopia (green-blind)
#7E8394
Tritanopia (blue-blind)
#DA4469
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cc4897;
/* rgb */ color: rgb(204, 72, 151);
/* oklch */ color: oklch(60.6% 0.185 347.1);
Tailwind
colors: {
  custom: {
    50: '#df83b5',
    500: '#cc4897',
    950: '#000000',
  },
}
SCSS
$custom: #cc4897;
$custom-light: #df83b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4897",
  "rgb": {
    "r": 204,
    "g": 72,
    "b": 151
  },
  "hsl": {
    "h": 324.091,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60637,
    "c": 0.18548,
    "h": 347.1
  },
  "luminance": 0.19706
}

Semantic roles & 50–950 ramp

primary
#CC4897
secondary
#9CD4B2
accent
#E08548
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CC4897

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

Preview Lab → · Contrast checker → · Palette generator →

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