#CC4F98#CC4F98

#CC4F98 is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.5% C 0.176 H 347.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CC4F98
RGBrgb(204, 79, 152)
HSLhsl(325, 55%, 55%)
HSVhsv(325, 61%, 80%)
CMYKcmyk(0%, 61.3%, 25.5%, 20%)
CIE-LABlab(52.62, 56.95, -14.58)
CIE-LCHlch(52.62, 58.78, 345.64°)
OKLaboklab(61.47% 0.1721 -0.0384)
OKLCHoklch(61.47% 0.176 347.4)
XYZxyz(33.3666, 20.6996, 31.9378)
Luminance0.2070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4F98 #4FCC83
analogous
#C14FCC #CC4F98 #CC4F59
triadic
#CC4F98 #98CC4F #4F98CC
tetradic
#CC4F98 #CCC14F #4FCC83 #4F59CC
square
#CC4F98 #CCC14F #4FCC83 #4F59CC
split-complementary
#CC4F98 #59CC4F #4FCCC1
monochromatic
#7D2458 #AC3279 #CC4F98 #DA7EB4 #E7AED0

Accessibility & contrast

On white

4.09
#CC4F98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CC4F98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4F98
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4F98#FFFFFF#000000##000000
##CC4F981.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D709A
Deuteranopia (green-blind)
#808695
Tritanopia (blue-blind)
#D94C6D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc4f98;
/* rgb */ color: rgb(204, 79, 152);
/* oklch */ color: oklch(61.5% 0.176 347.4);
Tailwind
colors: {
  custom: {
    50: '#df87b6',
    500: '#cc4f98',
    950: '#000000',
  },
}
SCSS
$custom: #cc4f98;
$custom-light: #df87b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4f98",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 152
  },
  "hsl": {
    "h": 324.96,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61469,
    "c": 0.17627,
    "h": 347.4
  },
  "luminance": 0.20696
}

Semantic roles & 50–950 ramp

primary
#CC4F98
secondary
#A1D5B7
accent
#DE8749
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CC4F98

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

Preview Lab → · Contrast checker → · Palette generator →

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