#CC498E#CC498E

#CC498E is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.4% C 0.179 H 351.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CC498E
RGBrgb(204, 73, 142)
HSLhsl(328, 56%, 54%)
HSVhsv(328, 64%, 80%)
CMYKcmyk(0%, 64.2%, 30.4%, 20%)
CIE-LABlab(51.33, 58.21, -10.58)
CIE-LCHlch(51.33, 59.16, 349.70°)
OKLaboklab(60.41% 0.1772 -0.0274)
OKLCHoklch(60.41% 0.179 351.2)
XYZxyz(32.1684, 19.5589, 27.6671)
Luminance0.1956 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC498E #49CC87
analogous
#C949CC #CC498E #CC494D
triadic
#CC498E #8ECC49 #498ECC
tetradic
#CC498E #CCC949 #49CC87 #494DCC
square
#CC498E #CCC949 #49CC87 #494DCC
split-complementary
#CC498E #4DCC49 #49CCC9
monochromatic
#792250 #A92F6F #CC498E #D979AC #E7A9C9

Accessibility & contrast

On white

4.28
#CC498E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CC498E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC498E
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC498E#FFFFFF#000000##000000
##CC498E1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6B90
Deuteranopia (green-blind)
#80838B
Tritanopia (blue-blind)
#DA4265
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cc498e;
/* rgb */ color: rgb(204, 73, 142);
/* oklch */ color: oklch(60.4% 0.179 351.2);
Tailwind
colors: {
  custom: {
    50: '#df84af',
    500: '#cc498e',
    950: '#000000',
  },
}
SCSS
$custom: #cc498e;
$custom-light: #df84af;
$custom-dark: #000000;
JSON
{
  "hex": "#cc498e",
  "rgb": {
    "r": 204,
    "g": 73,
    "b": 142
  },
  "hsl": {
    "h": 328.397,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60405,
    "c": 0.17931,
    "h": 351.2
  },
  "luminance": 0.19555
}

Semantic roles & 50–950 ramp

primary
#CC498E
secondary
#9DD4B7
accent
#E09048
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CC498E

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

Preview Lab → · Contrast checker → · Palette generator →

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