#CC3E8C#CC3E8C

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

Color values

HEX#CC3E8C
RGBrgb(204, 62, 140)
HSLhsl(327, 58%, 52%)
HSVhsv(327, 70%, 80%)
CMYKcmyk(0%, 69.6%, 31.4%, 20%)
CIE-LABlab(49.71, 62.25, -11.83)
CIE-LCHlch(49.71, 63.37, 349.24°)
OKLaboklab(59.19% 0.19 -0.0307)
OKLCHoklch(59.19% 0.192 350.8)
XYZxyz(31.3597, 18.1796, 26.6634)
Luminance0.1818 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3E8C #3ECC7E
analogous
#C53ECC #CC3E8C #CC3E45
triadic
#CC3E8C #8CCC3E #3E8CCC
tetradic
#CC3E8C #CCC53E #3ECC7E #3E45CC
square
#CC3E8C #CCC53E #3ECC7E #3E45CC
split-complementary
#CC3E8C #45CC3E #3ECCC5
monochromatic
#721E4C #A22B6C #CC3E8C #D96EA9 #E69FC6

Accessibility & contrast

On white

4.53
#CC3E8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC3E8C#FFFFFF#000000##000000
##CC3E8C1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#54668E
Deuteranopia (green-blind)
#7D7F89
Tritanopia (blue-blind)
#DB3560
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc3e8c;
/* rgb */ color: rgb(204, 62, 140);
/* oklch */ color: oklch(59.2% 0.192 350.8);
Tailwind
colors: {
  custom: {
    50: '#e07ead',
    500: '#cc3e8c',
    950: '#000000',
  },
}
SCSS
$custom: #cc3e8c;
$custom-light: #e07ead;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3e8c",
  "rgb": {
    "r": 204,
    "g": 62,
    "b": 140
  },
  "hsl": {
    "h": 327.042,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59188,
    "c": 0.19249,
    "h": 350.8
  },
  "luminance": 0.18176
}

Semantic roles & 50–950 ramp

primary
#CC3E8C
secondary
#94D2B0
accent
#E18C46
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC3E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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