#CC367D#CC367D

#CC367D is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.9% C 0.195 H 356.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CC367D
RGBrgb(204, 54, 125)
HSLhsl(332, 60%, 51%)
HSVhsv(332, 74%, 80%)
CMYKcmyk(0%, 73.5%, 38.7%, 20%)
CIE-LABlab(48.21, 63.38, -5.02)
CIE-LCHlch(48.21, 63.58, 355.47°)
OKLaboklab(57.92% 0.1946 -0.0124)
OKLCHoklch(57.92% 0.195 356.4)
XYZxyz(29.9247, 16.9601, 21.0958)
Luminance0.1696 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC367D #36CC85
analogous
#CC36C8 #CC367D #CC3A36
triadic
#CC367D #7DCC36 #367DCC
tetradic
#CC367D #C8CC36 #36CC85 #3A36CC
square
#CC367D #C8CC36 #36CC85 #3A36CC
split-complementary
#CC367D #36CC3A #36C8CC
monochromatic
#6C1B42 #9D285F #CC367D #D8679D #E598BC

Accessibility & contrast

On white

4.78
#CC367D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#CC367D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC367D
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC367D#FFFFFF#000000##FFFFFF
##CC367D1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54617F
Deuteranopia (green-blind)
#7D7D7A
Tritanopia (blue-blind)
#DC2455
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cc367d;
/* rgb */ color: rgb(204, 54, 125);
/* oklch */ color: oklch(57.9% 0.195 356.4);
Tailwind
colors: {
  custom: {
    50: '#e17aa2',
    500: '#cc367d',
    950: '#000000',
  },
}
SCSS
$custom: #cc367d;
$custom-light: #e17aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc367d",
  "rgb": {
    "r": 204,
    "g": 54,
    "b": 125
  },
  "hsl": {
    "h": 331.6,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57919,
    "c": 0.19498,
    "h": 356.4
  },
  "luminance": 0.16956
}

Semantic roles & 50–950 ramp

primary
#CC367D
secondary
#8ED0B1
accent
#E39845
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #CC367D

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

Preview Lab → · Contrast checker → · Palette generator →

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