#CC418F#CC418F

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

Color values

HEX#CC418F
RGBrgb(204, 65, 143)
HSLhsl(326, 58%, 53%)
HSVhsv(326, 68%, 80%)
CMYKcmyk(0%, 68.1%, 29.9%, 20%)
CIE-LABlab(50.22, 61.50, -12.86)
CIE-LCHlch(50.22, 62.83, 348.19°)
OKLaboklab(59.6% 0.1873 -0.0335)
OKLCHoklch(59.6% 0.19 349.8)
XYZxyz(31.7516, 18.6046, 27.9002)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC418F #41CC7E
analogous
#C341CC #CC418F #CC4149
triadic
#CC418F #8FCC41 #418FCC
tetradic
#CC418F #CCC341 #41CC7E #4149CC
square
#CC418F #CCC341 #41CC7E #4149CC
split-complementary
#CC418F #49CC41 #41CCC3
monochromatic
#741F4E #A42C6F #CC418F #D971AB #E6A1C8

Accessibility & contrast

On white

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

On black

4.72
#CC418F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC418F
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC418F#FFFFFF#000000##000000
##CC418F1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc418f;
/* rgb */ color: rgb(204, 65, 143);
/* oklch */ color: oklch(59.6% 0.190 349.8);
Tailwind
colors: {
  custom: {
    50: '#e080af',
    500: '#cc418f',
    950: '#000000',
  },
}
SCSS
$custom: #cc418f;
$custom-light: #e080af;
$custom-dark: #000000;
JSON
{
  "hex": "#cc418f",
  "rgb": {
    "r": 204,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 326.331,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59597,
    "c": 0.1903,
    "h": 349.8
  },
  "luminance": 0.18601
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC418F

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

Preview Lab → · Contrast checker → · Palette generator →

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