#CC458A#CC458A

#CC458A is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.8% C 0.183 H 352.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CC458A
RGBrgb(204, 69, 138)
HSLhsl(329, 57%, 54%)
HSVhsv(329, 66%, 80%)
CMYKcmyk(0%, 66.2%, 32.4%, 20%)
CIE-LABlab(50.61, 59.35, -9.28)
CIE-LCHlch(50.61, 60.07, 351.11°)
OKLaboklab(59.82% 0.1811 -0.0239)
OKLCHoklch(59.82% 0.183 352.5)
XYZxyz(31.6191, 18.9321, 26.0289)
Luminance0.1893 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC458A #45CC87
analogous
#CA45CC #CC458A #CC4546
triadic
#CC458A #8ACC45 #458ACC
tetradic
#CC458A #CCCA45 #45CC87 #4546CC
square
#CC458A #CCCA45 #45CC87 #4546CC
split-complementary
#CC458A #46CC45 #45CCCA
monochromatic
#76204C #A62E6B #CC458A #D975A8 #E6A5C6

Accessibility & contrast

On white

4.39
#CC458A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#CC458A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC458A
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC458A#FFFFFF#000000##000000
##CC458A1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A698C
Deuteranopia (green-blind)
#808187
Tritanopia (blue-blind)
#DB3C62
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc458a;
/* rgb */ color: rgb(204, 69, 138);
/* oklch */ color: oklch(59.8% 0.183 352.5);
Tailwind
colors: {
  custom: {
    50: '#e081ac',
    500: '#cc458a',
    950: '#000000',
  },
}
SCSS
$custom: #cc458a;
$custom-light: #e081ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cc458a",
  "rgb": {
    "r": 204,
    "g": 69,
    "b": 138
  },
  "hsl": {
    "h": 329.333,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59823,
    "c": 0.18269,
    "h": 352.5
  },
  "luminance": 0.18929
}

Semantic roles & 50–950 ramp

primary
#CC458A
secondary
#99D3B6
accent
#E09248
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC458A

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

Preview Lab → · Contrast checker → · Palette generator →

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