#CC418B#CC418B

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

Color values

HEX#CC418B
RGBrgb(204, 65, 139)
HSLhsl(328, 58%, 53%)
HSVhsv(328, 68%, 80%)
CMYKcmyk(0%, 68.1%, 31.9%, 20%)
CIE-LABlab(50.08, 61.02, -10.68)
CIE-LCHlch(50.08, 61.95, 350.08°)
OKLaboklab(59.45% 0.1863 -0.0276)
OKLCHoklch(59.45% 0.188 351.6)
XYZxyz(31.4540, 18.4855, 26.3327)
Luminance0.1848 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC418B #41CC82
analogous
#C841CC #CC418B #CC4145
triadic
#CC418B #8BCC41 #418BCC
tetradic
#CC418B #CCC841 #41CC82 #4145CC
square
#CC418B #CCC841 #41CC82 #4145CC
split-complementary
#CC418B #45CC41 #41CCC8
monochromatic
#741F4C #A42C6C #CC418B #D971A8 #E6A1C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC418B#FFFFFF#000000##000000
##CC418B1.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)
#57678D
Deuteranopia (green-blind)
#7E8088
Tritanopia (blue-blind)
#DB3860
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc418b;
/* rgb */ color: rgb(204, 65, 139);
/* oklch */ color: oklch(59.4% 0.188 351.6);
Tailwind
colors: {
  custom: {
    50: '#e07fac',
    500: '#cc418b',
    950: '#000000',
  },
}
SCSS
$custom: #cc418b;
$custom-light: #e07fac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc418b",
  "rgb": {
    "r": 204,
    "g": 65,
    "b": 139
  },
  "hsl": {
    "h": 328.058,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59446,
    "c": 0.1883,
    "h": 351.6
  },
  "luminance": 0.18482
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC418B

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

Preview Lab → · Contrast checker → · Palette generator →

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