#CC4254#CC4254

#CC4254 is a mid, vivid red. Relative luminance 0.174; OKLCH L 58.0% C 0.173 H 17.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#CC4254
RGBrgb(204, 66, 84)
HSLhsl(352, 58%, 53%)
HSVhsv(352, 68%, 80%)
CMYKcmyk(0%, 67.6%, 58.8%, 20%)
CIE-LABlab(48.73, 55.46, 20.65)
CIE-LCHlch(48.73, 59.18, 20.42°)
OKLaboklab(57.96% 0.1659 0.0507)
OKLCHoklch(57.96% 0.173 17)
XYZxyz(28.4530, 17.3778, 10.2418)
Luminance0.1737 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4254 #42CCBA
analogous
#CC4299 #CC4254 #CC7542
triadic
#CC4254 #54CC42 #4254CC
tetradic
#CC4254 #99CC42 #42CCBA #7542CC
square
#CC4254 #99CC42 #42CCBA #7542CC
split-complementary
#CC4254 #42CC75 #4299CC
monochromatic
#741F2A #A42C3C #CC4254 #D97280 #E6A2AB

Accessibility & contrast

On white

4.69
#CC4254 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#CC4254 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC4254
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4254#FFFFFF#000000##FFFFFF
##CC42541.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656154
Deuteranopia (green-blind)
#897E50
Tritanopia (blue-blind)
#DF2349
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cc4254;
/* rgb */ color: rgb(204, 66, 84);
/* oklch */ color: oklch(58.0% 0.173 17.0);
Tailwind
colors: {
  custom: {
    50: '#e27f84',
    500: '#cc4254',
    950: '#000000',
  },
}
SCSS
$custom: #cc4254;
$custom-light: #e27f84;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4254",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 84
  },
  "hsl": {
    "h": 352.174,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57962,
    "c": 0.17345,
    "h": 17
  },
  "luminance": 0.17374
}

Semantic roles & 50–950 ramp

primary
#CC4254
secondary
#97D3CB
accent
#E1CD47
background
#FEF8F8
surface
#FDEFEF
border
#D5CACA
text
#170B0A
muted
#857C7C

Preview Lab

Preview with #CC4254

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

Preview Lab → · Contrast checker → · Palette generator →

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