#CC3851#CC3851

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

Color values

HEX#CC3851
RGBrgb(204, 56, 81)
HSLhsl(350, 59%, 51%)
HSVhsv(350, 73%, 80%)
CMYKcmyk(0%, 72.5%, 60.3%, 20%)
CIE-LABlab(47.32, 58.99, 20.59)
CIE-LCHlch(47.32, 62.48, 19.25°)
OKLaboklab(56.89% 0.1767 0.0503)
OKLCHoklch(56.89% 0.184 15.9)
XYZxyz(27.8040, 16.2638, 9.4582)
Luminance0.1626 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3851 #38CCB3
analogous
#CC389B #CC3851 #CC6938
triadic
#CC3851 #51CC38 #3851CC
tetradic
#CC3851 #9BCC38 #38CCB3 #6938CC
square
#CC3851 #9BCC38 #38CCB3 #6938CC
split-complementary
#CC3851 #38CC69 #389BCC
monochromatic
#6E1C2A #9E293C #CC3851 #D8697C #E599A6

Accessibility & contrast

On white

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

On black

4.25
#CC3851 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CC3851#FFFFFF#000000##FFFFFF
##CC38511.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605D51
Deuteranopia (green-blind)
#867B4D
Tritanopia (blue-blind)
#DF0542
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #cc3851;
/* rgb */ color: rgb(204, 56, 81);
/* oklch */ color: oklch(56.9% 0.184 15.9);
Tailwind
colors: {
  custom: {
    50: '#e37a81',
    500: '#cc3851',
    950: '#000000',
  },
}
SCSS
$custom: #cc3851;
$custom-light: #e37a81;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3851",
  "rgb": {
    "r": 204,
    "g": 56,
    "b": 81
  },
  "hsl": {
    "h": 349.865,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56891,
    "c": 0.18369,
    "h": 15.9
  },
  "luminance": 0.1626
}

Semantic roles & 50–950 ramp

primary
#CC3851
secondary
#8FD1C6
accent
#E2C845
background
#FEF7F7
surface
#FDEEEE
border
#D5C9C9
text
#170A0A
muted
#857C7C

Preview Lab

Preview with #CC3851

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

Preview Lab → · Contrast checker → · Palette generator →

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