#CC4875#CC4875

#CC4875 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.5% C 0.171 H 2.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CC4875
RGBrgb(204, 72, 117)
HSLhsl(340, 56%, 54%)
HSVhsv(340, 65%, 80%)
CMYKcmyk(0%, 64.7%, 42.6%, 20%)
CIE-LABlab(50.41, 55.83, 3.04)
CIE-LCHlch(50.41, 55.91, 3.11°)
OKLaboklab(59.46% 0.1706 0.0085)
OKLCHoklch(59.46% 0.171 2.8)
XYZxyz(30.4322, 18.7601, 18.8446)
Luminance0.1876 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4875 #48CC9F
analogous
#CC48B7 #CC4875 #CC5D48
triadic
#CC4875 #75CC48 #4875CC
tetradic
#CC4875 #B7CC48 #48CC9F #5D48CC
square
#CC4875 #B7CC48 #48CC9F #5D48CC
split-complementary
#CC4875 #48CC5D #48B7CC
monochromatic
#78213F #A82F58 #CC4875 #D97899 #E7A8BD

Accessibility & contrast

On white

4.42
#CC4875 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#CC4875 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4875
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4875#FFFFFF#000000##000000
##CC48751.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#636876
Deuteranopia (green-blind)
#868172
Tritanopia (blue-blind)
#DD385A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc4875;
/* rgb */ color: rgb(204, 72, 117);
/* oklch */ color: oklch(59.5% 0.171 2.8);
Tailwind
colors: {
  custom: {
    50: '#e0829c',
    500: '#cc4875',
    950: '#000000',
  },
}
SCSS
$custom: #cc4875;
$custom-light: #e0829c;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4875",
  "rgb": {
    "r": 204,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 339.545,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59461,
    "c": 0.17078,
    "h": 2.8
  },
  "luminance": 0.18756
}

Semantic roles & 50–950 ramp

primary
#CC4875
secondary
#9CD4C1
accent
#E0AC48
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC4875

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

Preview Lab → · Contrast checker → · Palette generator →

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