#CC3F7C#CC3F7C

#CC3F7C is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.7% C 0.184 H 358.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CC3F7C
RGBrgb(204, 63, 124)
HSLhsl(334, 58%, 52%)
HSVhsv(334, 69%, 80%)
CMYKcmyk(0%, 69.1%, 39.2%, 20%)
CIE-LABlab(49.32, 60.11, -2.78)
CIE-LCHlch(49.32, 60.17, 357.35°)
OKLaboklab(58.72% 0.1842 -0.0065)
OKLCHoklch(58.72% 0.184 358)
XYZxyz(30.3195, 17.8513, 20.9139)
Luminance0.1785 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3F7C #3FCC8F
analogous
#CC3FC2 #CC3F7C #CC493F
triadic
#CC3F7C #7CCC3F #3F7CCC
tetradic
#CC3F7C #C2CC3F #3FCC8F #493FCC
square
#CC3F7C #C2CC3F #3FCC8F #493FCC
split-complementary
#CC3F7C #3FCC49 #3FC2CC
monochromatic
#721E43 #A32B5F #CC3F7C #D96F9D #E6A0BE

Accessibility & contrast

On white

4.60
#CC3F7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#CC3F7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3F7C
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3F7C#FFFFFF#000000##FFFFFF
##CC3F7C1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc3f7c;
/* rgb */ color: rgb(204, 63, 124);
/* oklch */ color: oklch(58.7% 0.184 358.0);
Tailwind
colors: {
  custom: {
    50: '#e07ea1',
    500: '#cc3f7c',
    950: '#000000',
  },
}
SCSS
$custom: #cc3f7c;
$custom-light: #e07ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3f7c",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 124
  },
  "hsl": {
    "h": 334.043,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58722,
    "c": 0.18432,
    "h": 358
  },
  "luminance": 0.17848
}

Semantic roles & 50–950 ramp

primary
#CC3F7C
secondary
#95D2B8
accent
#E19E47
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CC3F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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