#CC457F#CC457F

#CC457F is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.4% C 0.178 H 357.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CC457F
RGBrgb(204, 69, 127)
HSLhsl(334, 57%, 54%)
HSVhsv(334, 66%, 80%)
CMYKcmyk(0%, 66.2%, 37.7%, 20%)
CIE-LABlab(50.25, 58.10, -3.21)
CIE-LCHlch(50.25, 58.19, 356.83°)
OKLaboklab(59.44% 0.1778 -0.0077)
OKLCHoklch(59.44% 0.178 357.5)
XYZxyz(30.8627, 18.6295, 22.0451)
Luminance0.1863 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC457F #45CC92
analogous
#CC45C2 #CC457F #CC4E45
triadic
#CC457F #7FCC45 #457FCC
tetradic
#CC457F #C2CC45 #45CC92 #4E45CC
square
#CC457F #C2CC45 #45CC92 #4E45CC
split-complementary
#CC457F #45CC4E #45C2CC
monochromatic
#762045 #A62E61 #CC457F #D975A0 #E6A5C1

Accessibility & contrast

On white

4.44
#CC457F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CC457F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC457F
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC457F#FFFFFF#000000##000000
##CC457F1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6781
Deuteranopia (green-blind)
#82817C
Tritanopia (blue-blind)
#DC385D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc457f;
/* rgb */ color: rgb(204, 69, 127);
/* oklch */ color: oklch(59.4% 0.178 357.5);
Tailwind
colors: {
  custom: {
    50: '#e081a4',
    500: '#cc457f',
    950: '#000000',
  },
}
SCSS
$custom: #cc457f;
$custom-light: #e081a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc457f",
  "rgb": {
    "r": 204,
    "g": 69,
    "b": 127
  },
  "hsl": {
    "h": 334.222,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59443,
    "c": 0.17797,
    "h": 357.5
  },
  "luminance": 0.18626
}

Semantic roles & 50–950 ramp

primary
#CC457F
secondary
#99D3BA
accent
#E09F48
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CC457F

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

Preview Lab → · Contrast checker → · Palette generator →

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