#CC5147#CC5147

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

Color values

HEX#CC5147
RGBrgb(204, 81, 71)
HSLhsl(5, 57%, 54%)
HSVhsv(5, 65%, 80%)
CMYKcmyk(0%, 60.3%, 65.2%, 20%)
CIE-LABlab(50.90, 48.19, 31.10)
CIE-LCHlch(50.90, 57.36, 32.84°)
OKLaboklab(59.51% 0.1406 0.0732)
OKLCHoklch(59.51% 0.159 27.5)
XYZxyz(28.9844, 19.1810, 8.1360)
Luminance0.1918 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5147 #47C2CC
analogous
#CC4780 #CC5147 #CC9447
triadic
#CC5147 #47CC51 #5147CC
tetradic
#CC5147 #80CC47 #47C2CC #9447CC
square
#CC5147 #80CC47 #47C2CC #9447CC
split-complementary
#CC5147 #47CC94 #4780CC
monochromatic
#772821 #A7372E #CC5147 #D97E77 #E7ACA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC5147#FFFFFF#000000##000000
##CC51471.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)
#716945
Deuteranopia (green-blind)
#908344
Tritanopia (blue-blind)
#DF374F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cc5147;
/* rgb */ color: rgb(204, 81, 71);
/* oklch */ color: oklch(59.5% 0.159 27.5);
Tailwind
colors: {
  custom: {
    50: '#e2877a',
    500: '#cc5147',
    950: '#000000',
  },
}
SCSS
$custom: #cc5147;
$custom-light: #e2877a;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5147",
  "rgb": {
    "r": 204,
    "g": 81,
    "b": 71
  },
  "hsl": {
    "h": 4.511,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59514,
    "c": 0.15851,
    "h": 27.5
  },
  "luminance": 0.19177
}

Semantic roles & 50–950 ramp

primary
#CC5147
secondary
#9BD0D4
accent
#D4E048
background
#FEF8F7
surface
#FDF0ED
border
#D5CBC8
text
#170C09
muted
#857D7B

Preview Lab

Preview with #CC5147

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

Preview Lab → · Contrast checker → · Palette generator →

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