#CC3852#CC3852

#CC3852 is a mid, vivid red. Relative luminance 0.163; OKLCH L 56.9% C 0.184 H 15.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CC3852
RGBrgb(204, 56, 82)
HSLhsl(349, 59%, 51%)
HSVhsv(349, 73%, 80%)
CMYKcmyk(0%, 72.5%, 59.8%, 20%)
CIE-LABlab(47.34, 59.05, 20.01)
CIE-LCHlch(47.34, 62.35, 18.72°)
OKLaboklab(56.91% 0.1771 0.049)
OKLCHoklch(56.91% 0.184 15.5)
XYZxyz(27.8418, 16.2789, 9.6571)
Luminance0.1628 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3852 #38CCB2
analogous
#CC389C #CC3852 #CC6838
triadic
#CC3852 #52CC38 #3852CC
tetradic
#CC3852 #9CCC38 #38CCB2 #6838CC
square
#CC3852 #9CCC38 #38CCB2 #6838CC
split-complementary
#CC3852 #38CC68 #389CCC
monochromatic
#6E1C2A #9E293D #CC3852 #D8697C #E599A7

Accessibility & contrast

On white

4.94
#CC3852 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#CC3852 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3852
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3852#FFFFFF#000000##FFFFFF
##CC38521.004.944.264.94
#FFFFFF4.941.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605D52
Deuteranopia (green-blind)
#867B4E
Tritanopia (blue-blind)
#DF0643
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #cc3852;
/* rgb */ color: rgb(204, 56, 82);
/* oklch */ color: oklch(56.9% 0.184 15.5);
Tailwind
colors: {
  custom: {
    50: '#e37a82',
    500: '#cc3852',
    950: '#000000',
  },
}
SCSS
$custom: #cc3852;
$custom-light: #e37a82;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3852",
  "rgb": {
    "r": 204,
    "g": 56,
    "b": 82
  },
  "hsl": {
    "h": 349.459,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56912,
    "c": 0.18371,
    "h": 15.5
  },
  "luminance": 0.16275
}

Semantic roles & 50–950 ramp

primary
#CC3852
secondary
#8FD1C5
accent
#E2C745
background
#FEF7F7
surface
#FDEEEE
border
#D5C9C9
text
#170A0A
muted
#857C7C

Preview Lab

Preview with #CC3852

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

Preview Lab → · Contrast checker → · Palette generator →

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