#CC418C#CC418C

#CC418C is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.5% C 0.189 H 351.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#CC418C
RGBrgb(204, 65, 140)
HSLhsl(328, 58%, 53%)
HSVhsv(328, 68%, 80%)
CMYKcmyk(0%, 68.1%, 31.4%, 20%)
CIE-LABlab(50.11, 61.14, -11.22)
CIE-LCHlch(50.11, 62.16, 349.60°)
OKLaboklab(59.48% 0.1865 -0.0291)
OKLCHoklch(59.48% 0.189 351.1)
XYZxyz(31.5274, 18.5149, 26.7193)
Luminance0.1851 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC418C #41CC81
analogous
#C641CC #CC418C #CC4146
triadic
#CC418C #8CCC41 #418CCC
tetradic
#CC418C #CCC641 #41CC81 #4146CC
square
#CC418C #CCC641 #41CC81 #4146CC
split-complementary
#CC418C #46CC41 #41CCC6
monochromatic
#741F4D #A42C6D #CC418C #D971A9 #E6A1C6

Accessibility & contrast

On white

4.47
#CC418C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#CC418C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC418C
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC418C#FFFFFF#000000##000000
##CC418C1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#56678E
Deuteranopia (green-blind)
#7E8089
Tritanopia (blue-blind)
#DB3961
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc418c;
/* rgb */ color: rgb(204, 65, 140);
/* oklch */ color: oklch(59.5% 0.189 351.1);
Tailwind
colors: {
  custom: {
    50: '#e07fad',
    500: '#cc418c',
    950: '#000000',
  },
}
SCSS
$custom: #cc418c;
$custom-light: #e07fad;
$custom-dark: #000000;
JSON
{
  "hex": "#cc418c",
  "rgb": {
    "r": 204,
    "g": 65,
    "b": 140
  },
  "hsl": {
    "h": 327.626,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59483,
    "c": 0.18879,
    "h": 351.1
  },
  "luminance": 0.18511
}

Semantic roles & 50–950 ramp

primary
#CC418C
secondary
#96D3B2
accent
#E18E47
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC418C

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

Preview Lab → · Contrast checker → · Palette generator →

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