#CC5175#CC5175

#CC5175 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.5% C 0.159 H 5.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CC5175
RGBrgb(204, 81, 117)
HSLhsl(342, 55%, 56%)
HSVhsv(342, 60%, 80%)
CMYKcmyk(0%, 60.3%, 42.6%, 20%)
CIE-LABlab(51.85, 51.93, 5.11)
CIE-LCHlch(51.85, 52.19, 5.62°)
OKLaboklab(60.54% 0.1583 0.0138)
OKLCHoklch(60.54% 0.159 5)
XYZxyz(31.0573, 20.0101, 19.0530)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5175 #51CCA8
analogous
#CC51B2 #CC5175 #CC6A51
triadic
#CC5175 #75CC51 #5175CC
tetradic
#CC5175 #B2CC51 #51CCA8 #6A51CC
square
#CC5175 #B2CC51 #51CCA8 #6A51CC
split-complementary
#CC5175 #51CC6A #51B2CC
monochromatic
#7E253F #AD3357 #CC5175 #DA809B #E8B0C0

Accessibility & contrast

On white

4.20
#CC5175 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CC5175 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5175
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5175#FFFFFF#000000##000000
##CC51751.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#696D76
Deuteranopia (green-blind)
#898572
Tritanopia (blue-blind)
#DD435F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cc5175;
/* rgb */ color: rgb(204, 81, 117);
/* oklch */ color: oklch(60.5% 0.159 5.0);
Tailwind
colors: {
  custom: {
    50: '#e0879c',
    500: '#cc5175',
    950: '#000000',
  },
}
SCSS
$custom: #cc5175;
$custom-light: #e0879c;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5175",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 117
  },
  "hsl": {
    "h": 342.439,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60536,
    "c": 0.15887,
    "h": 5
  },
  "luminance": 0.20007
}

Semantic roles & 50–950 ramp

primary
#CC5175
secondary
#A3D6C7
accent
#DEB34A
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CC5175

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

Preview Lab → · Contrast checker → · Palette generator →

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