#CC5148#CC5148

#CC5148 is a mid, vivid red. Relative luminance 0.192; OKLCH L 59.5% C 0.158 H 27.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#CC5148
RGBrgb(204, 81, 72)
HSLhsl(4, 56%, 54%)
HSVhsv(4, 65%, 80%)
CMYKcmyk(0%, 60.3%, 64.7%, 20%)
CIE-LABlab(50.91, 48.25, 30.54)
CIE-LCHlch(50.91, 57.11, 32.33°)
OKLaboklab(59.53% 0.1409 0.0721)
OKLCHoklch(59.53% 0.158 27.1)
XYZxyz(29.0168, 19.1940, 8.3065)
Luminance0.1919 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5148 #48C3CC
analogous
#CC4881 #CC5148 #CC9348
triadic
#CC5148 #48CC51 #5148CC
tetradic
#CC5148 #81CC48 #48C3CC #9348CC
square
#CC5148 #81CC48 #48C3CC #9348CC
split-complementary
#CC5148 #48CC93 #4881CC
monochromatic
#782721 #A8372F #CC5148 #D97F78 #E7ACA8

Accessibility & contrast

On white

4.34
#CC5148 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#CC5148 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5148
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5148#FFFFFF#000000##000000
##CC51481.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#716946
Deuteranopia (green-blind)
#908345
Tritanopia (blue-blind)
#DF3750
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc5148;
/* rgb */ color: rgb(204, 81, 72);
/* oklch */ color: oklch(59.5% 0.158 27.1);
Tailwind
colors: {
  custom: {
    50: '#e2877b',
    500: '#cc5148',
    950: '#000000',
  },
}
SCSS
$custom: #cc5148;
$custom-light: #e2877b;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5148",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 72
  },
  "hsl": {
    "h": 4.091,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5953,
    "c": 0.15832,
    "h": 27.1
  },
  "luminance": 0.1919
}

Semantic roles & 50–950 ramp

primary
#CC5148
secondary
#9CD0D4
accent
#D5E048
background
#FEF8F7
surface
#FDF0EE
border
#D5CBC9
text
#170C09
muted
#857D7B

Preview Lab

Preview with #CC5148

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

Preview Lab → · Contrast checker → · Palette generator →

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