#CC4279#CC4279

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

Color values

HEX#CC4279
RGBrgb(204, 66, 121)
HSLhsl(336, 58%, 53%)
HSVhsv(336, 68%, 80%)
CMYKcmyk(0%, 67.6%, 40.7%, 20%)
CIE-LABlab(49.64, 58.65, -0.49)
CIE-LCHlch(49.64, 58.65, 359.52°)
OKLaboklab(58.93% 0.1796 -0.0006)
OKLCHoklch(58.93% 0.18 359.8)
XYZxyz(30.3033, 18.1179, 19.9868)
Luminance0.1811 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4279 #42CC95
analogous
#CC42BE #CC4279 #CC5042
triadic
#CC4279 #79CC42 #4279CC
tetradic
#CC4279 #BECC42 #42CC95 #5042CC
square
#CC4279 #BECC42 #42CC95 #5042CC
split-complementary
#CC4279 #42CC50 #42BECC
monochromatic
#741F41 #A42C5C #CC4279 #D9729B #E6A2BD

Accessibility & contrast

On white

4.54
#CC4279 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#CC4279 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4279
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4279#FFFFFF#000000##000000
##CC42791.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D657A
Deuteranopia (green-blind)
#838076
Tritanopia (blue-blind)
#DD3258
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc4279;
/* rgb */ color: rgb(204, 66, 121);
/* oklch */ color: oklch(58.9% 0.180 359.8);
Tailwind
colors: {
  custom: {
    50: '#e07f9f',
    500: '#cc4279',
    950: '#000000',
  },
}
SCSS
$custom: #cc4279;
$custom-light: #e07f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4279",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 121
  },
  "hsl": {
    "h": 336.087,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58931,
    "c": 0.17959,
    "h": 359.8
  },
  "luminance": 0.18114
}

Semantic roles & 50–950 ramp

primary
#CC4279
secondary
#97D3BB
accent
#E1A347
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC4279

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

Preview Lab → · Contrast checker → · Palette generator →

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