#CC458C#CC458C

#CC458C is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.9% C 0.184 H 351.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CC458C
RGBrgb(204, 69, 140)
HSLhsl(328, 57%, 54%)
HSVhsv(328, 66%, 80%)
CMYKcmyk(0%, 66.2%, 31.4%, 20%)
CIE-LABlab(50.68, 59.59, -10.38)
CIE-LCHlch(50.68, 60.48, 350.12°)
OKLaboklab(59.9% 0.1817 -0.0268)
OKLCHoklch(59.9% 0.184 351.6)
XYZxyz(31.7652, 18.9905, 26.7985)
Luminance0.1899 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC458C #45CC85
analogous
#C845CC #CC458C #CC4548
triadic
#CC458C #8CCC45 #458CCC
tetradic
#CC458C #CCC845 #45CC85 #4548CC
square
#CC458C #CCC845 #45CC85 #4548CC
split-complementary
#CC458C #48CC45 #45CCC8
monochromatic
#76204E #A62E6D #CC458C #D975AA #E6A5C7

Accessibility & contrast

On white

4.38
#CC458C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#CC458C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC458C
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC458C#FFFFFF#000000##000000
##CC458C1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#59698E
Deuteranopia (green-blind)
#7F8289
Tritanopia (blue-blind)
#DB3D63
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc458c;
/* rgb */ color: rgb(204, 69, 140);
/* oklch */ color: oklch(59.9% 0.184 351.6);
Tailwind
colors: {
  custom: {
    50: '#e081ad',
    500: '#cc458c',
    950: '#000000',
  },
}
SCSS
$custom: #cc458c;
$custom-light: #e081ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cc458c",
  "rgb": {
    "r": 204,
    "g": 69,
    "b": 140
  },
  "hsl": {
    "h": 328.444,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59896,
    "c": 0.18366,
    "h": 351.6
  },
  "luminance": 0.18987
}

Semantic roles & 50–950 ramp

primary
#CC458C
secondary
#99D3B5
accent
#E09048
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC458C

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

Preview Lab → · Contrast checker → · Palette generator →

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