#CC4272#CC4272

#CC4272 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.7% C 0.177 H 3.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#CC4272
RGBrgb(204, 66, 114)
HSLhsl(339, 58%, 53%)
HSVhsv(339, 68%, 80%)
CMYKcmyk(0%, 67.6%, 44.1%, 20%)
CIE-LABlab(49.44, 57.95, 3.45)
CIE-LCHlch(49.44, 58.05, 3.41°)
OKLaboklab(58.72% 0.1772 0.0095)
OKLCHoklch(58.72% 0.177 3.1)
XYZxyz(29.8895, 17.9524, 17.8075)
Luminance0.1795 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4272 #42CC9C
analogous
#CC42B7 #CC4272 #CC5742
triadic
#CC4272 #72CC42 #4272CC
tetradic
#CC4272 #B7CC42 #42CC9C #5742CC
square
#CC4272 #B7CC42 #42CC9C #5742CC
split-complementary
#CC4272 #42CC57 #42B7CC
monochromatic
#741F3D #A42C56 #CC4272 #D97296 #E6A2BA

Accessibility & contrast

On white

4.58
#CC4272 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#CC4272 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4272
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4272#FFFFFF#000000##000000
##CC42721.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6473
Deuteranopia (green-blind)
#847F6F
Tritanopia (blue-blind)
#DD2F55
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc4272;
/* rgb */ color: rgb(204, 66, 114);
/* oklch */ color: oklch(58.7% 0.177 3.1);
Tailwind
colors: {
  custom: {
    50: '#e17f9a',
    500: '#cc4272',
    950: '#000000',
  },
}
SCSS
$custom: #cc4272;
$custom-light: #e17f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4272",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 114
  },
  "hsl": {
    "h": 339.13,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58717,
    "c": 0.17746,
    "h": 3.1
  },
  "luminance": 0.17949
}

Semantic roles & 50–950 ramp

primary
#CC4272
secondary
#97D3BE
accent
#E1AB47
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC4272

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

Preview Lab → · Contrast checker → · Palette generator →

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