#CC3F7E#CC3F7E

#CC3F7E is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.8% C 0.185 H 357.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#CC3F7E
RGBrgb(204, 63, 126)
HSLhsl(333, 58%, 52%)
HSVhsv(333, 69%, 80%)
CMYKcmyk(0%, 69.1%, 38.2%, 20%)
CIE-LABlab(49.38, 60.32, -3.90)
CIE-LCHlch(49.38, 60.44, 356.30°)
OKLaboklab(58.79% 0.1848 -0.0095)
OKLCHoklch(58.79% 0.185 357.1)
XYZxyz(30.4472, 17.9024, 21.5867)
Luminance0.1790 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3F7E #3FCC8D
analogous
#CC3FC5 #CC3F7E #CC463F
triadic
#CC3F7E #7ECC3F #3F7ECC
tetradic
#CC3F7E #C5CC3F #3FCC8D #463FCC
square
#CC3F7E #C5CC3F #3FCC8D #463FCC
split-complementary
#CC3F7E #3FCC46 #3FC5CC
monochromatic
#721E44 #A32B61 #CC3F7E #D96F9E #E6A0BF

Accessibility & contrast

On white

4.59
#CC3F7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#CC3F7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3F7E
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3F7E#FFFFFF#000000##FFFFFF
##CC3F7E1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6580
Deuteranopia (green-blind)
#807F7B
Tritanopia (blue-blind)
#DC3059
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc3f7e;
/* rgb */ color: rgb(204, 63, 126);
/* oklch */ color: oklch(58.8% 0.185 357.1);
Tailwind
colors: {
  custom: {
    50: '#e07ea3',
    500: '#cc3f7e',
    950: '#000000',
  },
}
SCSS
$custom: #cc3f7e;
$custom-light: #e07ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3f7e",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 126
  },
  "hsl": {
    "h": 333.191,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58788,
    "c": 0.18507,
    "h": 357.1
  },
  "luminance": 0.17899
}

Semantic roles & 50–950 ramp

primary
#CC3F7E
secondary
#95D2B7
accent
#E19C47
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CC3F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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