#CC3E7C#CC3E7C

#CC3E7C is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.6% C 0.186 H 357.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CC3E7C
RGBrgb(204, 62, 124)
HSLhsl(334, 58%, 52%)
HSVhsv(334, 70%, 80%)
CMYKcmyk(0%, 69.6%, 39.2%, 20%)
CIE-LABlab(49.18, 60.48, -2.98)
CIE-LCHlch(49.18, 60.55, 357.18°)
OKLaboklab(58.62% 0.1854 -0.0071)
OKLCHoklch(58.62% 0.186 357.8)
XYZxyz(30.2646, 17.7415, 20.8956)
Luminance0.1774 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3E7C #3ECC8E
analogous
#CC3EC3 #CC3E7C #CC473E
triadic
#CC3E7C #7CCC3E #3E7CCC
tetradic
#CC3E7C #C3CC3E #3ECC8E #473ECC
square
#CC3E7C #C3CC3E #3ECC8E #473ECC
split-complementary
#CC3E7C #3ECC47 #3EC3CC
monochromatic
#721E43 #A22B5F #CC3E7C #D96E9D #E69FBE

Accessibility & contrast

On white

4.62
#CC3E7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#CC3E7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3E7C
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3E7C#FFFFFF#000000##FFFFFF
##CC3E7C1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A647E
Deuteranopia (green-blind)
#807F79
Tritanopia (blue-blind)
#DC2E58
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc3e7c;
/* rgb */ color: rgb(204, 62, 124);
/* oklch */ color: oklch(58.6% 0.186 357.8);
Tailwind
colors: {
  custom: {
    50: '#e07ea1',
    500: '#cc3e7c',
    950: '#000000',
  },
}
SCSS
$custom: #cc3e7c;
$custom-light: #e07ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3e7c",
  "rgb": {
    "r": 204,
    "g": 62,
    "b": 124
  },
  "hsl": {
    "h": 333.803,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58623,
    "c": 0.18551,
    "h": 357.8
  },
  "luminance": 0.17738
}

Semantic roles & 50–950 ramp

primary
#CC3E7C
secondary
#94D2B7
accent
#E19E46
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CC3E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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