#CC418D#CC418D

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

Color values

HEX#CC418D
RGBrgb(204, 65, 141)
HSLhsl(327, 58%, 53%)
HSVhsv(327, 68%, 80%)
CMYKcmyk(0%, 68.1%, 30.9%, 20%)
CIE-LABlab(50.15, 61.26, -11.77)
CIE-LCHlch(50.15, 62.38, 349.13°)
OKLaboklab(59.52% 0.1868 -0.0306)
OKLCHoklch(59.52% 0.189 350.7)
XYZxyz(31.6015, 18.5445, 27.1094)
Luminance0.1854 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC418D #41CC80
analogous
#C541CC #CC418D #CC4148
triadic
#CC418D #8DCC41 #418DCC
tetradic
#CC418D #CCC541 #41CC80 #4148CC
square
#CC418D #CCC541 #41CC80 #4148CC
split-complementary
#CC418D #48CC41 #41CCC5
monochromatic
#741F4D #A42C6E #CC418D #D971AA #E6A1C7

Accessibility & contrast

On white

4.46
#CC418D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC418D#FFFFFF#000000##000000
##CC418D1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#56688F
Deuteranopia (green-blind)
#7D808A
Tritanopia (blue-blind)
#DB3961
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc418d;
/* rgb */ color: rgb(204, 65, 141);
/* oklch */ color: oklch(59.5% 0.189 350.7);
Tailwind
colors: {
  custom: {
    50: '#e07fae',
    500: '#cc418d',
    950: '#000000',
  },
}
SCSS
$custom: #cc418d;
$custom-light: #e07fae;
$custom-dark: #000000;
JSON
{
  "hex": "#cc418d",
  "rgb": {
    "r": 204,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 327.194,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59521,
    "c": 0.18929,
    "h": 350.7
  },
  "luminance": 0.18541
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC418D

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

Preview Lab → · Contrast checker → · Palette generator →

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