#CC3C8E#CC3C8E

#CC3C8E is a mid, vivid pink. Relative luminance 0.180; OKLCH L 59.1% C 0.196 H 349.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CC3C8E
RGBrgb(204, 60, 142)
HSLhsl(326, 59%, 52%)
HSVhsv(326, 71%, 80%)
CMYKcmyk(0%, 70.6%, 30.4%, 20%)
CIE-LABlab(49.53, 63.21, -13.31)
CIE-LCHlch(49.53, 64.60, 348.11°)
OKLaboklab(59.08% 0.1928 -0.0347)
OKLCHoklch(59.08% 0.196 349.8)
XYZxyz(31.4018, 18.0256, 27.4115)
Luminance0.1802 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3C8E #3CCC7A
analogous
#C23CCC #CC3C8E #CC3C46
triadic
#CC3C8E #8ECC3C #3C8ECC
tetradic
#CC3C8E #CCC23C #3CCC7A #3C46CC
square
#CC3C8E #CCC23C #3CCC7A #3C46CC
split-complementary
#CC3C8E #46CC3C #3CCCC2
monochromatic
#701D4D #A12A6E #CC3C8E #D96DAA #E59DC6

Accessibility & contrast

On white

4.56
#CC3C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#CC3C8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3C8E
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3C8E#FFFFFF#000000##000000
##CC3C8E1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#526690
Deuteranopia (green-blind)
#7B7F8B
Tritanopia (blue-blind)
#DB3460
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc3c8e;
/* rgb */ color: rgb(204, 60, 142);
/* oklch */ color: oklch(59.1% 0.196 349.8);
Tailwind
colors: {
  custom: {
    50: '#e07daf',
    500: '#cc3c8e',
    950: '#000000',
  },
}
SCSS
$custom: #cc3c8e;
$custom-light: #e07daf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3c8e",
  "rgb": {
    "r": 204,
    "g": 60,
    "b": 142
  },
  "hsl": {
    "h": 325.833,
    "s": 58.537,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59076,
    "c": 0.1959,
    "h": 349.8
  },
  "luminance": 0.18022
}

Semantic roles & 50–950 ramp

primary
#CC3C8E
secondary
#92D1AE
accent
#E28946
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC3C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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