#CC3EAF#CC3EAF

#CC3EAF is a mid, highly saturated pink. Relative luminance 0.194; OKLCH L 60.7% C 0.213 H 337.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CC3EAF
RGBrgb(204, 62, 175)
HSLhsl(312, 58%, 52%)
HSVhsv(312, 70%, 80%)
CMYKcmyk(0%, 69.6%, 14.2%, 20%)
CIE-LABlab(51.13, 66.84, -30.40)
CIE-LCHlch(51.13, 73.43, 335.54°)
OKLaboklab(60.69% 0.1968 -0.0826)
OKLCHoklch(60.69% 0.213 337.2)
XYZxyz(34.3629, 19.3809, 42.4802)
Luminance0.1938 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3EAF #3ECC5B
analogous
#A23ECC #CC3EAF #CC3E68
triadic
#CC3EAF #AFCC3E #3EAFCC
tetradic
#CC3EAF #CCA23E #3ECC5B #3E68CC
square
#CC3EAF #CCA23E #3ECC5B #3E68CC
split-complementary
#CC3EAF #68CC3E #3ECCA2
monochromatic
#721E61 #A22B8A #CC3EAF #D96EC3 #E69FD7

Accessibility & contrast

On white

4.31
#CC3EAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CC3EAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3EAF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3EAF#FFFFFF#000000##000000
##CC3EAF1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#426CB2
Deuteranopia (green-blind)
#7182AC
Tritanopia (blue-blind)
#D74671
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc3eaf;
/* rgb */ color: rgb(204, 62, 175);
/* oklch */ color: oklch(60.7% 0.213 337.2);
Tailwind
colors: {
  custom: {
    50: '#df7fc7',
    500: '#cc3eaf',
    950: '#000000',
  },
}
SCSS
$custom: #cc3eaf;
$custom-light: #df7fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3eaf",
  "rgb": {
    "r": 204,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 312.254,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60685,
    "c": 0.21345,
    "h": 337.2
  },
  "luminance": 0.19378
}

Semantic roles & 50–950 ramp

primary
#CC3EAF
secondary
#94D2A1
accent
#E16646
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CC3EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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