#CC3E8D#CC3E8D

#CC3E8D is a mid, vivid pink. Relative luminance 0.182; OKLCH L 59.2% C 0.193 H 350.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#CC3E8D
RGBrgb(204, 62, 141)
HSLhsl(327, 58%, 52%)
HSVhsv(327, 70%, 80%)
CMYKcmyk(0%, 69.6%, 30.9%, 20%)
CIE-LABlab(49.75, 62.37, -12.37)
CIE-LCHlch(49.75, 63.59, 348.78°)
OKLaboklab(59.23% 0.1903 -0.0322)
OKLCHoklch(59.23% 0.193 350.4)
XYZxyz(31.4338, 18.2092, 27.0535)
Luminance0.1821 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3E8D #3ECC7D
analogous
#C43ECC #CC3E8D #CC3E46
triadic
#CC3E8D #8DCC3E #3E8DCC
tetradic
#CC3E8D #CCC43E #3ECC7D #3E46CC
square
#CC3E8D #CCC43E #3ECC7D #3E46CC
split-complementary
#CC3E8D #46CC3E #3ECCC4
monochromatic
#721E4D #A22B6D #CC3E8D #D96EAA #E69FC6

Accessibility & contrast

On white

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

On black

4.64
#CC3E8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC3E8D
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3E8D#FFFFFF#000000##000000
##CC3E8D1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#54668F
Deuteranopia (green-blind)
#7C808A
Tritanopia (blue-blind)
#DB3660
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc3e8d;
/* rgb */ color: rgb(204, 62, 141);
/* oklch */ color: oklch(59.2% 0.193 350.4);
Tailwind
colors: {
  custom: {
    50: '#e07eae',
    500: '#cc3e8d',
    950: '#000000',
  },
}
SCSS
$custom: #cc3e8d;
$custom-light: #e07eae;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3e8d",
  "rgb": {
    "r": 204,
    "g": 62,
    "b": 141
  },
  "hsl": {
    "h": 326.62,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59226,
    "c": 0.19299,
    "h": 350.4
  },
  "luminance": 0.18206
}

Semantic roles & 50–950 ramp

primary
#CC3E8D
secondary
#94D2AF
accent
#E18B46
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC3E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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