#CC4277#CC4277

#CC4277 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 58.9% C 0.179 H 0.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#CC4277
RGBrgb(204, 66, 119)
HSLhsl(337, 58%, 53%)
HSVhsv(337, 68%, 80%)
CMYKcmyk(0%, 67.6%, 41.7%, 20%)
CIE-LABlab(49.58, 58.45, 0.63)
CIE-LCHlch(49.58, 58.45, 0.62°)
OKLaboklab(58.87% 0.1789 0.0023)
OKLCHoklch(58.87% 0.179 0.7)
XYZxyz(30.1820, 18.0694, 19.3475)
Luminance0.1807 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4277 #42CC97
analogous
#CC42BC #CC4277 #CC5242
triadic
#CC4277 #77CC42 #4277CC
tetradic
#CC4277 #BCCC42 #42CC97 #5242CC
square
#CC4277 #BCCC42 #42CC97 #5242CC
split-complementary
#CC4277 #42CC52 #42BCCC
monochromatic
#741F40 #A42C5A #CC4277 #D9729A #E6A2BC

Accessibility & contrast

On white

4.55
#CC4277 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#CC4277 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4277
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4277#FFFFFF#000000##000000
##CC42771.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6578
Deuteranopia (green-blind)
#838074
Tritanopia (blue-blind)
#DD3158
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc4277;
/* rgb */ color: rgb(204, 66, 119);
/* oklch */ color: oklch(58.9% 0.179 0.7);
Tailwind
colors: {
  custom: {
    50: '#e17f9e',
    500: '#cc4277',
    950: '#000000',
  },
}
SCSS
$custom: #cc4277;
$custom-light: #e17f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4277",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 119
  },
  "hsl": {
    "h": 336.957,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58868,
    "c": 0.17894,
    "h": 0.7
  },
  "luminance": 0.18066
}

Semantic roles & 50–950 ramp

primary
#CC4277
secondary
#97D3BC
accent
#E1A647
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC4277

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

Preview Lab → · Contrast checker → · Palette generator →

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