#CC4278#CC4278

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

Color values

HEX#CC4278
RGBrgb(204, 66, 120)
HSLhsl(337, 58%, 53%)
HSVhsv(337, 68%, 80%)
CMYKcmyk(0%, 67.6%, 41.2%, 20%)
CIE-LABlab(49.61, 58.55, 0.07)
CIE-LCHlch(49.61, 58.55, 0.07°)
OKLaboklab(58.9% 0.1793 0.0009)
OKLCHoklch(58.9% 0.179 0.3)
XYZxyz(30.2423, 18.0935, 19.6655)
Luminance0.1809 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4278 #42CC96
analogous
#CC42BD #CC4278 #CC5142
triadic
#CC4278 #78CC42 #4278CC
tetradic
#CC4278 #BDCC42 #42CC96 #5142CC
square
#CC4278 #BDCC42 #42CC96 #5142CC
split-complementary
#CC4278 #42CC51 #42BDCC
monochromatic
#741F41 #A42C5B #CC4278 #D9729A #E6A2BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC4278#FFFFFF#000000##000000
##CC42781.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc4278;
/* rgb */ color: rgb(204, 66, 120);
/* oklch */ color: oklch(58.9% 0.179 0.3);
Tailwind
colors: {
  custom: {
    50: '#e07f9e',
    500: '#cc4278',
    950: '#000000',
  },
}
SCSS
$custom: #cc4278;
$custom-light: #e07f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4278",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 120
  },
  "hsl": {
    "h": 336.522,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58899,
    "c": 0.17926,
    "h": 0.3
  },
  "luminance": 0.1809
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4278

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

Preview Lab → · Contrast checker → · Palette generator →

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