#CC367E#CC367E

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

Color values

HEX#CC367E
RGBrgb(204, 54, 126)
HSLhsl(331, 60%, 51%)
HSVhsv(331, 74%, 80%)
CMYKcmyk(0%, 73.5%, 38.2%, 20%)
CIE-LABlab(48.24, 63.48, -5.58)
CIE-LCHlch(48.24, 63.73, 354.98°)
OKLaboklab(57.95% 0.1949 -0.0139)
OKLCHoklch(57.95% 0.195 355.9)
XYZxyz(29.9889, 16.9858, 21.4340)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC367E #36CC84
analogous
#CC36C9 #CC367E #CC3936
triadic
#CC367E #7ECC36 #367ECC
tetradic
#CC367E #C9CC36 #36CC84 #3936CC
square
#CC367E #C9CC36 #36CC84 #3936CC
split-complementary
#CC367E #36CC39 #36C9CC
monochromatic
#6C1B42 #9D2860 #CC367E #D8679D #E598BD

Accessibility & contrast

On white

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

On black

4.40
#CC367E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CC367E#FFFFFF#000000##FFFFFF
##CC367E1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546180
Deuteranopia (green-blind)
#7D7D7B
Tritanopia (blue-blind)
#DC2455
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cc367e;
/* rgb */ color: rgb(204, 54, 126);
/* oklch */ color: oklch(58.0% 0.195 355.9);
Tailwind
colors: {
  custom: {
    50: '#e17aa3',
    500: '#cc367e',
    950: '#000000',
  },
}
SCSS
$custom: #cc367e;
$custom-light: #e17aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc367e",
  "rgb": {
    "r": 204,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 331.2,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57953,
    "c": 0.19537,
    "h": 355.9
  },
  "luminance": 0.16982
}

Semantic roles & 50–950 ramp

primary
#CC367E
secondary
#8ED0B0
accent
#E39745
background
#FEF7FA
surface
#FDEEF3
border
#D5C9CD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CC367E

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

Preview Lab → · Contrast checker → · Palette generator →

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