#CC345F#CC345F

#CC345F is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.9% C 0.189 H 9.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CC345F
RGBrgb(204, 52, 95)
HSLhsl(343, 60%, 50%)
HSVhsv(343, 75%, 80%)
CMYKcmyk(0%, 74.5%, 53.4%, 20%)
CIE-LABlab(47.14, 61.34, 11.78)
CIE-LCHlch(47.14, 62.46, 10.87°)
OKLaboklab(56.85% 0.1864 0.03)
OKLCHoklch(56.85% 0.189 9.1)
XYZxyz(28.1980, 16.1235, 12.4516)
Luminance0.1612 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC345F #34CCA1
analogous
#CC34AB #CC345F #CC5534
triadic
#CC345F #5FCC34 #345FCC
tetradic
#CC345F #ABCC34 #34CCA1 #5534CC
square
#CC345F #ABCC34 #34CCA1 #5534CC
split-complementary
#CC345F #34CC55 #34ABCC
monochromatic
#6B1B31 #9C2748 #CC345F #D86586 #E596AC

Accessibility & contrast

On white

4.97
#CC345F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#CC345F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC345F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC345F#FFFFFF#000000##FFFFFF
##CC345F1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5C60
Deuteranopia (green-blind)
#837B5B
Tritanopia (blue-blind)
#DF0546
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #cc345f;
/* rgb */ color: rgb(204, 52, 95);
/* oklch */ color: oklch(56.9% 0.189 9.1);
Tailwind
colors: {
  custom: {
    50: '#e2788c',
    500: '#cc345f',
    950: '#000000',
  },
}
SCSS
$custom: #cc345f;
$custom-light: #e2788c;
$custom-dark: #000000;
JSON
{
  "hex": "#cc345f",
  "rgb": {
    "r": 204,
    "g": 52,
    "b": 95
  },
  "hsl": {
    "h": 343.026,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56854,
    "c": 0.18879,
    "h": 9.1
  },
  "luminance": 0.1612
}

Semantic roles & 50–950 ramp

primary
#CC345F
secondary
#8CD0BD
accent
#E3B645
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#170A0C
muted
#857C7D

Preview Lab

Preview with #CC345F

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

Preview Lab → · Contrast checker → · Palette generator →

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