#CC3F7D#CC3F7D

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

Color values

HEX#CC3F7D
RGBrgb(204, 63, 125)
HSLhsl(334, 58%, 52%)
HSVhsv(334, 69%, 80%)
CMYKcmyk(0%, 69.1%, 38.7%, 20%)
CIE-LABlab(49.35, 60.21, -3.34)
CIE-LCHlch(49.35, 60.30, 356.82°)
OKLaboklab(58.76% 0.1845 -0.008)
OKLCHoklch(58.76% 0.185 357.5)
XYZxyz(30.3830, 17.8767, 21.2486)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3F7D #3FCC8E
analogous
#CC3FC4 #CC3F7D #CC473F
triadic
#CC3F7D #7DCC3F #3F7DCC
tetradic
#CC3F7D #C4CC3F #3FCC8E #473FCC
square
#CC3F7D #C4CC3F #3FCC8E #473FCC
split-complementary
#CC3F7D #3FCC47 #3FC4CC
monochromatic
#721E43 #A32B60 #CC3F7D #D96F9E #E6A0BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC3F7D#FFFFFF#000000##FFFFFF
##CC3F7D1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A647F
Deuteranopia (green-blind)
#817F7A
Tritanopia (blue-blind)
#DC3059
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc3f7d;
/* rgb */ color: rgb(204, 63, 125);
/* oklch */ color: oklch(58.8% 0.185 357.5);
Tailwind
colors: {
  custom: {
    50: '#e07ea2',
    500: '#cc3f7d',
    950: '#000000',
  },
}
SCSS
$custom: #cc3f7d;
$custom-light: #e07ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3f7d",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 125
  },
  "hsl": {
    "h": 333.617,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58755,
    "c": 0.18468,
    "h": 357.5
  },
  "luminance": 0.17873
}

Semantic roles & 50–950 ramp

primary
#CC3F7D
secondary
#95D2B7
accent
#E19D47
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CC3F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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