#CC407D#CC407D

#CC407D is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.9% C 0.183 H 357.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CC407D
RGBrgb(204, 64, 125)
HSLhsl(334, 58%, 53%)
HSVhsv(334, 69%, 80%)
CMYKcmyk(0%, 68.6%, 38.7%, 20%)
CIE-LABlab(49.48, 59.83, -3.14)
CIE-LCHlch(49.48, 59.92, 356.99°)
OKLaboklab(58.86% 0.1833 -0.0075)
OKLCHoklch(58.86% 0.183 357.7)
XYZxyz(30.4389, 17.9885, 21.2672)
Luminance0.1799 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC407D #40CC8F
analogous
#CC40C3 #CC407D #CC4940
triadic
#CC407D #7DCC40 #407DCC
tetradic
#CC407D #C3CC40 #40CC8F #4940CC
square
#CC407D #C3CC40 #40CC8F #4940CC
split-complementary
#CC407D #40CC49 #40C3CC
monochromatic
#731F43 #A32C60 #CC407D #D9709E #E6A1BF

Accessibility & contrast

On white

4.57
#CC407D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#CC407D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC407D
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC407D#FFFFFF#000000##000000
##CC407D1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B657F
Deuteranopia (green-blind)
#817F7A
Tritanopia (blue-blind)
#DC3159
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc407d;
/* rgb */ color: rgb(204, 64, 125);
/* oklch */ color: oklch(58.9% 0.183 357.7);
Tailwind
colors: {
  custom: {
    50: '#e07fa2',
    500: '#cc407d',
    950: '#000000',
  },
}
SCSS
$custom: #cc407d;
$custom-light: #e07fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc407d",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 333.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58855,
    "c": 0.18347,
    "h": 357.7
  },
  "luminance": 0.17985
}

Semantic roles & 50–950 ramp

primary
#CC407D
secondary
#95D2B8
accent
#E19E47
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CC407D

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

Preview Lab → · Contrast checker → · Palette generator →

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