#CC3F7F#CC3F7F

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

Color values

HEX#CC3F7F
RGBrgb(204, 63, 127)
HSLhsl(333, 58%, 52%)
HSVhsv(333, 69%, 80%)
CMYKcmyk(0%, 69.1%, 37.7%, 20%)
CIE-LABlab(49.41, 60.42, -4.46)
CIE-LCHlch(49.41, 60.59, 355.78°)
OKLaboklab(58.82% 0.1851 -0.011)
OKLCHoklch(58.82% 0.185 356.6)
XYZxyz(30.5121, 17.9283, 21.9283)
Luminance0.1792 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3F7F #3FCC8C
analogous
#CC3FC6 #CC3F7F #CC453F
triadic
#CC3F7F #7FCC3F #3F7FCC
tetradic
#CC3F7F #C6CC3F #3FCC8C #453FCC
square
#CC3F7F #C6CC3F #3FCC8C #453FCC
split-complementary
#CC3F7F #3FCC45 #3FC6CC
monochromatic
#721E44 #A32B61 #CC3F7F #D96F9F #E6A0BF

Accessibility & contrast

On white

4.58
#CC3F7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#CC3F7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3F7F
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3F7F#FFFFFF#000000##000000
##CC3F7F1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#596581
Deuteranopia (green-blind)
#807F7C
Tritanopia (blue-blind)
#DC315A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc3f7f;
/* rgb */ color: rgb(204, 63, 127);
/* oklch */ color: oklch(58.8% 0.185 356.6);
Tailwind
colors: {
  custom: {
    50: '#e07ea4',
    500: '#cc3f7f',
    950: '#000000',
  },
}
SCSS
$custom: #cc3f7f;
$custom-light: #e07ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3f7f",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 127
  },
  "hsl": {
    "h": 332.766,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58822,
    "c": 0.18546,
    "h": 356.6
  },
  "luminance": 0.17925
}

Semantic roles & 50–950 ramp

primary
#CC3F7F
secondary
#95D2B6
accent
#E19B47
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CC3F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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