#CC418A#CC418A

#CC418A is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.4% C 0.188 H 352.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#CC418A
RGBrgb(204, 65, 138)
HSLhsl(328, 58%, 53%)
HSVhsv(328, 68%, 80%)
CMYKcmyk(0%, 68.1%, 32.4%, 20%)
CIE-LABlab(50.05, 60.90, -10.13)
CIE-LCHlch(50.05, 61.74, 350.56°)
OKLaboklab(59.41% 0.186 -0.0261)
OKLCHoklch(59.41% 0.188 352)
XYZxyz(31.3813, 18.4565, 25.9497)
Luminance0.1845 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC418A #41CC83
analogous
#C841CC #CC418A #CC4145
triadic
#CC418A #8ACC41 #418ACC
tetradic
#CC418A #CCC841 #41CC83 #4145CC
square
#CC418A #CCC841 #41CC83 #4145CC
split-complementary
#CC418A #45CC41 #41CCC8
monochromatic
#741F4B #A42C6B #CC418A #D971A8 #E6A1C5

Accessibility & contrast

On white

4.48
#CC418A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#CC418A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC418A
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC418A#FFFFFF#000000##000000
##CC418A1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#57678C
Deuteranopia (green-blind)
#7E8087
Tritanopia (blue-blind)
#DB3860
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc418a;
/* rgb */ color: rgb(204, 65, 138);
/* oklch */ color: oklch(59.4% 0.188 352.0);
Tailwind
colors: {
  custom: {
    50: '#e07fac',
    500: '#cc418a',
    950: '#000000',
  },
}
SCSS
$custom: #cc418a;
$custom-light: #e07fac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc418a",
  "rgb": {
    "r": 204,
    "g": 65,
    "b": 138
  },
  "hsl": {
    "h": 328.489,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59409,
    "c": 0.18782,
    "h": 352
  },
  "luminance": 0.18453
}

Semantic roles & 50–950 ramp

primary
#CC418A
secondary
#96D3B3
accent
#E19047
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC418A

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

Preview Lab → · Contrast checker → · Palette generator →

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