#CC366B#CC366B

#CC366B is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.4% C 0.189 H 4.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CC366B
RGBrgb(204, 54, 107)
HSLhsl(339, 60%, 51%)
HSVhsv(339, 74%, 80%)
CMYKcmyk(0%, 73.5%, 47.5%, 20%)
CIE-LABlab(47.68, 61.66, 5.18)
CIE-LCHlch(47.68, 61.88, 4.80°)
OKLaboklab(57.35% 0.1887 0.0139)
OKLCHoklch(57.35% 0.189 4.2)
XYZxyz(28.8772, 16.5411, 15.5792)
Luminance0.1654 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC366B #36CC97
analogous
#CC36B6 #CC366B #CC4C36
triadic
#CC366B #6BCC36 #366BCC
tetradic
#CC366B #B6CC36 #36CC97 #4C36CC
square
#CC366B #B6CC36 #36CC97 #4C36CC
split-complementary
#CC366B #36CC4C #36B6CC
monochromatic
#6C1B38 #9D2851 #CC366B #D8678F #E598B3

Accessibility & contrast

On white

4.88
#CC366B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#CC366B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC366B
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC366B#FFFFFF#000000##FFFFFF
##CC366B1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595E6C
Deuteranopia (green-blind)
#817C67
Tritanopia (blue-blind)
#DE174C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cc366b;
/* rgb */ color: rgb(204, 54, 107);
/* oklch */ color: oklch(57.4% 0.189 4.2);
Tailwind
colors: {
  custom: {
    50: '#e17995',
    500: '#cc366b',
    950: '#000000',
  },
}
SCSS
$custom: #cc366b;
$custom-light: #e17995;
$custom-dark: #000000;
JSON
{
  "hex": "#cc366b",
  "rgb": {
    "r": 204,
    "g": 54,
    "b": 107
  },
  "hsl": {
    "h": 338.8,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57352,
    "c": 0.18917,
    "h": 4.2
  },
  "luminance": 0.16537
}

Semantic roles & 50–950 ramp

primary
#CC366B
secondary
#8ED0B9
accent
#E3AB45
background
#FEF7F9
surface
#FDEEF1
border
#D5C9CB
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #CC366B

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

Preview Lab → · Contrast checker → · Palette generator →

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