#CC457E#CC457E

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

Color values

HEX#CC457E
RGBrgb(204, 69, 126)
HSLhsl(335, 57%, 54%)
HSVhsv(335, 66%, 80%)
CMYKcmyk(0%, 66.2%, 38.2%, 20%)
CIE-LABlab(50.22, 57.99, -2.66)
CIE-LCHlch(50.22, 58.05, 357.38°)
OKLaboklab(59.41% 0.1775 -0.0062)
OKLCHoklch(59.41% 0.178 358)
XYZxyz(30.7978, 18.6036, 21.7036)
Luminance0.1860 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC457E #45CC93
analogous
#CC45C1 #CC457E #CC4F45
triadic
#CC457E #7ECC45 #457ECC
tetradic
#CC457E #C1CC45 #45CC93 #4F45CC
square
#CC457E #C1CC45 #45CC93 #4F45CC
split-complementary
#CC457E #45CC4F #45C1CC
monochromatic
#762045 #A62E61 #CC457E #D9759F #E6A5C1

Accessibility & contrast

On white

4.45
#CC457E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#CC457E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC457E
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC457E#FFFFFF#000000##000000
##CC457E1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6780
Deuteranopia (green-blind)
#83817B
Tritanopia (blue-blind)
#DC375C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cc457e;
/* rgb */ color: rgb(204, 69, 126);
/* oklch */ color: oklch(59.4% 0.178 358.0);
Tailwind
colors: {
  custom: {
    50: '#e081a3',
    500: '#cc457e',
    950: '#000000',
  },
}
SCSS
$custom: #cc457e;
$custom-light: #e081a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc457e",
  "rgb": {
    "r": 204,
    "g": 69,
    "b": 126
  },
  "hsl": {
    "h": 334.667,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5941,
    "c": 0.17759,
    "h": 358
  },
  "luminance": 0.186
}

Semantic roles & 50–950 ramp

primary
#CC457E
secondary
#99D3BB
accent
#E0A048
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CC457E

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

Preview Lab → · Contrast checker → · Palette generator →

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