#CC418E#CC418E

#CC418E is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.6% C 0.190 H 350.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CC418E
RGBrgb(204, 65, 142)
HSLhsl(327, 58%, 53%)
HSVhsv(327, 68%, 80%)
CMYKcmyk(0%, 68.1%, 30.4%, 20%)
CIE-LABlab(50.19, 61.38, -12.31)
CIE-LCHlch(50.19, 62.60, 348.66°)
OKLaboklab(59.56% 0.1871 -0.0321)
OKLCHoklch(59.56% 0.19 350.3)
XYZxyz(31.6762, 18.5744, 27.5030)
Luminance0.1857 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC418E #41CC7F
analogous
#C541CC #CC418E #CC4148
triadic
#CC418E #8ECC41 #418ECC
tetradic
#CC418E #CCC541 #41CC7F #4148CC
square
#CC418E #CCC541 #41CC7F #4148CC
split-complementary
#CC418E #48CC41 #41CCC5
monochromatic
#741F4E #A42C6E #CC418E #D971AB #E6A1C7

Accessibility & contrast

On white

4.45
#CC418E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#CC418E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC418E
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC418E#FFFFFF#000000##000000
##CC418E1.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#566890
Deuteranopia (green-blind)
#7D808B
Tritanopia (blue-blind)
#DB3A62
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc418e;
/* rgb */ color: rgb(204, 65, 142);
/* oklch */ color: oklch(59.6% 0.190 350.3);
Tailwind
colors: {
  custom: {
    50: '#e080af',
    500: '#cc418e',
    950: '#000000',
  },
}
SCSS
$custom: #cc418e;
$custom-light: #e080af;
$custom-dark: #000000;
JSON
{
  "hex": "#cc418e",
  "rgb": {
    "r": 204,
    "g": 65,
    "b": 142
  },
  "hsl": {
    "h": 326.763,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59558,
    "c": 0.18979,
    "h": 350.3
  },
  "luminance": 0.18571
}

Semantic roles & 50–950 ramp

primary
#CC418E
secondary
#96D3B1
accent
#E18C47
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC418E

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

Preview Lab → · Contrast checker → · Palette generator →

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