#CC345A#CC345A

#CC345A is a mid, vivid red. Relative luminance 0.160; OKLCH L 56.7% C 0.188 H 11.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#CC345A
RGBrgb(204, 52, 90)
HSLhsl(345, 60%, 50%)
HSVhsv(345, 75%, 80%)
CMYKcmyk(0%, 74.5%, 55.9%, 20%)
CIE-LABlab(47.02, 60.96, 14.69)
CIE-LCHlch(47.02, 62.71, 13.55°)
OKLaboklab(56.73% 0.1845 0.0369)
OKLCHoklch(56.73% 0.188 11.3)
XYZxyz(27.9780, 16.0355, 11.2928)
Luminance0.1603 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC345A #34CCA6
analogous
#CC34A6 #CC345A #CC5A34
triadic
#CC345A #5ACC34 #345ACC
tetradic
#CC345A #A6CC34 #34CCA6 #5A34CC
square
#CC345A #A6CC34 #34CCA6 #5A34CC
split-complementary
#CC345A #34CC5A #34A6CC
monochromatic
#6B1B2F #9C2744 #CC345A #D86582 #E596AA

Accessibility & contrast

On white

4.99
#CC345A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#CC345A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC345A
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC345A#FFFFFF#000000##FFFFFF
##CC345A1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5C5B
Deuteranopia (green-blind)
#837B56
Tritanopia (blue-blind)
#DF0044
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #cc345a;
/* rgb */ color: rgb(204, 52, 90);
/* oklch */ color: oklch(56.7% 0.188 11.3);
Tailwind
colors: {
  custom: {
    50: '#e27888',
    500: '#cc345a',
    950: '#000000',
  },
}
SCSS
$custom: #cc345a;
$custom-light: #e27888;
$custom-dark: #000000;
JSON
{
  "hex": "#cc345a",
  "rgb": {
    "r": 204,
    "g": 52,
    "b": 90
  },
  "hsl": {
    "h": 345,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56731,
    "c": 0.18814,
    "h": 11.3
  },
  "luminance": 0.16032
}

Semantic roles & 50–950 ramp

primary
#CC345A
secondary
#8CD0BF
accent
#E3BB45
background
#FEF7F8
surface
#FDEEEF
border
#D5C9CA
text
#170A0B
muted
#857C7C

Preview Lab

Preview with #CC345A

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

Preview Lab → · Contrast checker → · Palette generator →

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