#CC3E8E#CC3E8E

#CC3E8E is a mid, vivid pink. Relative luminance 0.182; OKLCH L 59.3% C 0.194 H 350.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#CC3E8E
RGBrgb(204, 62, 142)
HSLhsl(326, 58%, 52%)
HSVhsv(326, 70%, 80%)
CMYKcmyk(0%, 69.6%, 30.4%, 20%)
CIE-LABlab(49.78, 62.49, -12.92)
CIE-LCHlch(49.78, 63.81, 348.32°)
OKLaboklab(59.26% 0.1905 -0.0337)
OKLCHoklch(59.26% 0.194 350)
XYZxyz(31.5085, 18.2391, 27.4471)
Luminance0.1824 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3E8E #3ECC7C
analogous
#C33ECC #CC3E8E #CC3E47
triadic
#CC3E8E #8ECC3E #3E8ECC
tetradic
#CC3E8E #CCC33E #3ECC7C #3E47CC
square
#CC3E8E #CCC33E #3ECC7C #3E47CC
split-complementary
#CC3E8E #47CC3E #3ECCC3
monochromatic
#721E4D #A22B6E #CC3E8E #D96EAA #E69FC7

Accessibility & contrast

On white

4.52
#CC3E8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#CC3E8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3E8E
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3E8E#FFFFFF#000000##000000
##CC3E8E1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#536690
Deuteranopia (green-blind)
#7C808B
Tritanopia (blue-blind)
#DB3661
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc3e8e;
/* rgb */ color: rgb(204, 62, 142);
/* oklch */ color: oklch(59.3% 0.194 350.0);
Tailwind
colors: {
  custom: {
    50: '#e07eaf',
    500: '#cc3e8e',
    950: '#000000',
  },
}
SCSS
$custom: #cc3e8e;
$custom-light: #e07eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3e8e",
  "rgb": {
    "r": 204,
    "g": 62,
    "b": 142
  },
  "hsl": {
    "h": 326.197,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59264,
    "c": 0.1935,
    "h": 350
  },
  "luminance": 0.18236
}

Semantic roles & 50–950 ramp

primary
#CC3E8E
secondary
#94D2AF
accent
#E18A46
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC3E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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