#CC4291#CC4291

#CC4291 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.8% C 0.190 H 349.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CC4291
RGBrgb(204, 66, 145)
HSLhsl(326, 58%, 53%)
HSVhsv(326, 68%, 80%)
CMYKcmyk(0%, 67.6%, 28.9%, 20%)
CIE-LABlab(50.43, 61.36, -13.73)
CIE-LCHlch(50.43, 62.88, 347.38°)
OKLaboklab(59.77% 0.1867 -0.0359)
OKLCHoklch(59.77% 0.19 349.1)
XYZxyz(31.9624, 18.7816, 28.7245)
Luminance0.1878 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4291 #42CC7D
analogous
#C242CC #CC4291 #CC424C
triadic
#CC4291 #91CC42 #4291CC
tetradic
#CC4291 #CCC242 #42CC7D #424CCC
square
#CC4291 #CCC242 #42CC7D #424CCC
split-complementary
#CC4291 #4CCC42 #42CCC2
monochromatic
#741F50 #A42C71 #CC4291 #D972AD #E6A2C9

Accessibility & contrast

On white

4.42
#CC4291 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#CC4291 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4291
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4291#FFFFFF#000000##000000
##CC42911.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#556993
Deuteranopia (green-blind)
#7D818E
Tritanopia (blue-blind)
#DA3C64
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc4291;
/* rgb */ color: rgb(204, 66, 145);
/* oklch */ color: oklch(59.8% 0.190 349.1);
Tailwind
colors: {
  custom: {
    50: '#e080b1',
    500: '#cc4291',
    950: '#000000',
  },
}
SCSS
$custom: #cc4291;
$custom-light: #e080b1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4291",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 145
  },
  "hsl": {
    "h": 325.652,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59774,
    "c": 0.19008,
    "h": 349.1
  },
  "luminance": 0.18778
}

Semantic roles & 50–950 ramp

primary
#CC4291
secondary
#97D3B1
accent
#E18947
background
#FEF8FA
surface
#FCEFF5
border
#D5CACF
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC4291

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

Preview Lab → · Contrast checker → · Palette generator →

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