#CC4048#CC4048

#CC4048 is a mid, vivid red. Relative luminance 0.170; OKLCH L 57.5% C 0.176 H 21.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CC4048
RGBrgb(204, 64, 72)
HSLhsl(357, 58%, 53%)
HSVhsv(357, 69%, 80%)
CMYKcmyk(0%, 68.6%, 64.7%, 20%)
CIE-LABlab(48.23, 55.47, 27.20)
CIE-LCHlch(48.23, 61.78, 26.12°)
OKLaboklab(57.52% 0.1637 0.0646)
OKLCHoklch(57.52% 0.176 21.5)
XYZxyz(27.9078, 16.9760, 7.9368)
Luminance0.1697 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4048 #40CCC4
analogous
#CC408E #CC4048 #CC7E40
triadic
#CC4048 #48CC40 #4048CC
tetradic
#CC4048 #8ECC40 #40CCC4 #7E40CC
square
#CC4048 #8ECC40 #40CCC4 #7E40CC
split-complementary
#CC4048 #40CC7E #408ECC
monochromatic
#731F23 #A32C32 #CC4048 #D97076 #E6A1A5

Accessibility & contrast

On white

4.78
#CC4048 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#CC4048 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC4048
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4048#FFFFFF#000000##FFFFFF
##CC40481.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#666047
Deuteranopia (green-blind)
#897D44
Tritanopia (blue-blind)
#E01944
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cc4048;
/* rgb */ color: rgb(204, 64, 72);
/* oklch */ color: oklch(57.5% 0.176 21.5);
Tailwind
colors: {
  custom: {
    50: '#e37d7b',
    500: '#cc4048',
    950: '#000000',
  },
}
SCSS
$custom: #cc4048;
$custom-light: #e37d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4048",
  "rgb": {
    "r": 204,
    "g": 64,
    "b": 72
  },
  "hsl": {
    "h": 356.571,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57517,
    "c": 0.17603,
    "h": 21.5
  },
  "luminance": 0.16972
}

Semantic roles & 50–950 ramp

primary
#CC4048
secondary
#95D2CF
accent
#E1D847
background
#FFF8F7
surface
#FEEFED
border
#D6CAC8
text
#170A09
muted
#857C7B

Preview Lab

Preview with #CC4048

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

Preview Lab → · Contrast checker → · Palette generator →

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