#CC4FA2#CC4FA2

#CC4FA2 is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.9% C 0.182 H 343.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#CC4FA2
RGBrgb(204, 79, 162)
HSLhsl(320, 55%, 55%)
HSVhsv(320, 61%, 80%)
CMYKcmyk(0%, 61.3%, 20.6%, 20%)
CIE-LABlab(52.99, 58.31, -19.89)
CIE-LCHlch(52.99, 61.61, 341.16°)
OKLaboklab(61.87% 0.1745 -0.0531)
OKLCHoklch(61.87% 0.182 343.1)
XYZxyz(34.2204, 21.0411, 36.4345)
Luminance0.2104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4FA2 #4FCC79
analogous
#B74FCC #CC4FA2 #CC4F63
triadic
#CC4FA2 #A2CC4F #4FA2CC
tetradic
#CC4FA2 #CCB74F #4FCC79 #4F63CC
square
#CC4FA2 #CCB74F #4FCC79 #4F63CC
split-complementary
#CC4FA2 #63CC4F #4FCCB7
monochromatic
#7D245F #AC3283 #CC4FA2 #DA7EBB #E7AED4

Accessibility & contrast

On white

4.03
#CC4FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#CC4FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4FA2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4FA2#FFFFFF#000000##000000
##CC4FA21.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5971A5
Deuteranopia (green-blind)
#7D869F
Tritanopia (blue-blind)
#D84F72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cc4fa2;
/* rgb */ color: rgb(204, 79, 162);
/* oklch */ color: oklch(61.9% 0.182 343.1);
Tailwind
colors: {
  custom: {
    50: '#df87bd',
    500: '#cc4fa2',
    950: '#000000',
  },
}
SCSS
$custom: #cc4fa2;
$custom-light: #df87bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4fa2",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 320.16,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61869,
    "c": 0.18236,
    "h": 343.1
  },
  "luminance": 0.21038
}

Semantic roles & 50–950 ramp

primary
#CC4FA2
secondary
#A1D5B3
accent
#DE7B49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CC4FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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