#CC4157#CC4157

#CC4157 is a mid, vivid red. Relative luminance 0.173; OKLCH L 57.9% C 0.175 H 15.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#CC4157
RGBrgb(204, 65, 87)
HSLhsl(351, 58%, 53%)
HSVhsv(351, 68%, 80%)
CMYKcmyk(0%, 68.1%, 57.4%, 20%)
CIE-LABlab(48.65, 56.06, 18.73)
CIE-LCHlch(48.65, 59.11, 18.47°)
OKLaboklab(57.92% 0.1683 0.0463)
OKLCHoklch(57.92% 0.175 15.4)
XYZxyz(28.5151, 17.3100, 10.8546)
Luminance0.1731 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4157 #41CCB6
analogous
#CC419C #CC4157 #CC7141
triadic
#CC4157 #57CC41 #4157CC
tetradic
#CC4157 #9CCC41 #41CCB6 #7141CC
square
#CC4157 #9CCC41 #41CCB6 #7141CC
split-complementary
#CC4157 #41CC71 #419CCC
monochromatic
#741F2C #A42C3F #CC4157 #D97182 #E6A1AC

Accessibility & contrast

On white

4.71
#CC4157 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#CC4157 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC4157
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4157#FFFFFF#000000##FFFFFF
##CC41571.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646157
Deuteranopia (green-blind)
#887E53
Tritanopia (blue-blind)
#DF224A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cc4157;
/* rgb */ color: rgb(204, 65, 87);
/* oklch */ color: oklch(57.9% 0.175 15.4);
Tailwind
colors: {
  custom: {
    50: '#e27e86',
    500: '#cc4157',
    950: '#000000',
  },
}
SCSS
$custom: #cc4157;
$custom-light: #e27e86;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4157",
  "rgb": {
    "r": 204,
    "g": 65,
    "b": 87
  },
  "hsl": {
    "h": 350.504,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57919,
    "c": 0.17458,
    "h": 15.4
  },
  "luminance": 0.17306
}

Semantic roles & 50–950 ramp

primary
#CC4157
secondary
#96D3C9
accent
#E1C947
background
#FEF8F8
surface
#FDEFEF
border
#D5CACA
text
#170B0B
muted
#857C7C

Preview Lab

Preview with #CC4157

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

Preview Lab → · Contrast checker → · Palette generator →

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