#CC407B#CC407B

#CC407B is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.8% C 0.183 H 358.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#CC407B
RGBrgb(204, 64, 123)
HSLhsl(335, 58%, 53%)
HSVhsv(335, 69%, 80%)
CMYKcmyk(0%, 68.6%, 39.7%, 20%)
CIE-LABlab(49.42, 59.62, -2.02)
CIE-LCHlch(49.42, 59.66, 358.06°)
OKLaboklab(58.79% 0.1827 -0.0046)
OKLCHoklch(58.79% 0.183 358.6)
XYZxyz(30.3124, 17.9379, 20.6011)
Luminance0.1793 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC407B #40CC91
analogous
#CC40C1 #CC407B #CC4B40
triadic
#CC407B #7BCC40 #407BCC
tetradic
#CC407B #C1CC40 #40CC91 #4B40CC
square
#CC407B #C1CC40 #40CC91 #4B40CC
split-complementary
#CC407B #40CC4B #40C1CC
monochromatic
#731F42 #A32C5E #CC407B #D9709C #E6A1BE

Accessibility & contrast

On white

4.58
#CC407B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#CC407B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC407B
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC407B#FFFFFF#000000##000000
##CC407B1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B657D
Deuteranopia (green-blind)
#817F78
Tritanopia (blue-blind)
#DC3058
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc407b;
/* rgb */ color: rgb(204, 64, 123);
/* oklch */ color: oklch(58.8% 0.183 358.6);
Tailwind
colors: {
  custom: {
    50: '#e07fa1',
    500: '#cc407b',
    950: '#000000',
  },
}
SCSS
$custom: #cc407b;
$custom-light: #e07fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc407b",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 334.714,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58789,
    "c": 0.18274,
    "h": 358.6
  },
  "luminance": 0.17934
}

Semantic roles & 50–950 ramp

primary
#CC407B
secondary
#95D2B9
accent
#E1A047
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CC407B

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

Preview Lab → · Contrast checker → · Palette generator →

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