#CC3F52#CC3F52

#CC3F52 is a mid, vivid red. Relative luminance 0.170; OKLCH L 57.6% C 0.177 H 17.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#CC3F52
RGBrgb(204, 63, 82)
HSLhsl(352, 58%, 52%)
HSVhsv(352, 69%, 80%)
CMYKcmyk(0%, 69.1%, 59.8%, 20%)
CIE-LABlab(48.27, 56.49, 21.24)
CIE-LCHlch(48.27, 60.35, 20.61°)
OKLaboklab(57.6% 0.1689 0.0519)
OKLCHoklch(57.6% 0.177 17.1)
XYZxyz(28.2051, 17.0055, 9.7782)
Luminance0.1700 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3F52 #3FCCB9
analogous
#CC3F98 #CC3F52 #CC733F
triadic
#CC3F52 #52CC3F #3F52CC
tetradic
#CC3F52 #98CC3F #3FCCB9 #733FCC
square
#CC3F52 #98CC3F #3FCCB9 #733FCC
split-complementary
#CC3F52 #3FCC73 #3F98CC
monochromatic
#721E2A #A32B3B #CC3F52 #D96F7E #E6A0A9

Accessibility & contrast

On white

4.77
#CC3F52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CC3F52
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3F52#FFFFFF#000000##FFFFFF
##CC3F521.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646052
Deuteranopia (green-blind)
#887D4E
Tritanopia (blue-blind)
#DF1C47
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc3f52;
/* rgb */ color: rgb(204, 63, 82);
/* oklch */ color: oklch(57.6% 0.177 17.1);
Tailwind
colors: {
  custom: {
    50: '#e27d82',
    500: '#cc3f52',
    950: '#000000',
  },
}
SCSS
$custom: #cc3f52;
$custom-light: #e27d82;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3f52",
  "rgb": {
    "r": 204,
    "g": 63,
    "b": 82
  },
  "hsl": {
    "h": 351.915,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57602,
    "c": 0.17664,
    "h": 17.1
  },
  "luminance": 0.17002
}

Semantic roles & 50–950 ramp

primary
#CC3F52
secondary
#95D2CA
accent
#E1CC47
background
#FEF8F7
surface
#FDEFEE
border
#D5CAC9
text
#170A0A
muted
#857C7C

Preview Lab

Preview with #CC3F52

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

Preview Lab → · Contrast checker → · Palette generator →

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