#CC3951#CC3951

#CC3951 is a mid, vivid red. Relative luminance 0.164; OKLCH L 57.0% C 0.183 H 16.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CC3951
RGBrgb(204, 57, 81)
HSLhsl(350, 59%, 51%)
HSVhsv(350, 72%, 80%)
CMYKcmyk(0%, 72.1%, 60.3%, 20%)
CIE-LABlab(47.45, 58.64, 20.76)
CIE-LCHlch(47.45, 62.20, 19.50°)
OKLaboklab(56.99% 0.1755 0.0507)
OKLCHoklch(56.99% 0.183 16.1)
XYZxyz(27.8530, 16.3617, 9.4745)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3951 #39CCB4
analogous
#CC399A #CC3951 #CC6A39
triadic
#CC3951 #51CC39 #3951CC
tetradic
#CC3951 #9ACC39 #39CCB4 #6A39CC
square
#CC3951 #9ACC39 #39CCB4 #6A39CC
split-complementary
#CC3951 #39CC6A #399ACC
monochromatic
#6E1C2A #9F293C #CC3951 #D96A7C #E59AA7

Accessibility & contrast

On white

4.92
#CC3951 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#CC3951 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3951
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3951#FFFFFF#000000##FFFFFF
##CC39511.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605D51
Deuteranopia (green-blind)
#867C4D
Tritanopia (blue-blind)
#DF0943
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cc3951;
/* rgb */ color: rgb(204, 57, 81);
/* oklch */ color: oklch(57.0% 0.183 16.1);
Tailwind
colors: {
  custom: {
    50: '#e37a81',
    500: '#cc3951',
    950: '#000000',
  },
}
SCSS
$custom: #cc3951;
$custom-light: #e37a81;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3951",
  "rgb": {
    "r": 204,
    "g": 57,
    "b": 81
  },
  "hsl": {
    "h": 350.204,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56985,
    "c": 0.18272,
    "h": 16.1
  },
  "luminance": 0.16358
}

Semantic roles & 50–950 ramp

primary
#CC3951
secondary
#90D1C6
accent
#E2C946
background
#FEF7F7
surface
#FDEEEE
border
#D5C9C9
text
#170A0A
muted
#857C7C

Preview Lab

Preview with #CC3951

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

Preview Lab → · Contrast checker → · Palette generator →

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