#CC3F8E#CC3F8E

#CC3F8E is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.4% C 0.192 H 350.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#CC3F8E
RGBrgb(204, 63, 142)
HSLhsl(326, 58%, 52%)
HSVhsv(326, 69%, 80%)
CMYKcmyk(0%, 69.1%, 30.4%, 20%)
CIE-LABlab(49.92, 62.12, -12.72)
CIE-LCHlch(49.92, 63.41, 348.43°)
OKLaboklab(59.36% 0.1894 -0.0331)
OKLCHoklch(59.36% 0.192 350.1)
XYZxyz(31.5634, 18.3489, 27.4654)
Luminance0.1835 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3F8E #3FCC7D
analogous
#C43FCC #CC3F8E #CC3F47
triadic
#CC3F8E #8ECC3F #3F8ECC
tetradic
#CC3F8E #CCC43F #3FCC7D #3F47CC
square
#CC3F8E #CCC43F #3FCC7D #3F47CC
split-complementary
#CC3F8E #47CC3F #3FCCC4
monochromatic
#721E4D #A32B6E #CC3F8E #D96FAA #E6A0C7

Accessibility & contrast

On white

4.50
#CC3F8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#CC3F8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3F8E
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3F8E#FFFFFF#000000##000000
##CC3F8E1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#546790
Deuteranopia (green-blind)
#7C808B
Tritanopia (blue-blind)
#DB3761
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc3f8e;
/* rgb */ color: rgb(204, 63, 142);
/* oklch */ color: oklch(59.4% 0.192 350.1);
Tailwind
colors: {
  custom: {
    50: '#e07faf',
    500: '#cc3f8e',
    950: '#000000',
  },
}
SCSS
$custom: #cc3f8e;
$custom-light: #e07faf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3f8e",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 142
  },
  "hsl": {
    "h": 326.383,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59361,
    "c": 0.19227,
    "h": 350.1
  },
  "luminance": 0.18345
}

Semantic roles & 50–950 ramp

primary
#CC3F8E
secondary
#95D2B0
accent
#E18B47
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC3F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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