#CC4238#CC4238

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

Color values

HEX#CC4238
RGBrgb(204, 66, 56)
HSLhsl(4, 59%, 51%)
HSVhsv(4, 73%, 80%)
CMYKcmyk(0%, 67.6%, 72.5%, 20%)
CIE-LABlab(48.29, 53.86, 36.58)
CIE-LCHlch(48.29, 65.11, 34.18°)
OKLaboklab(57.49% 0.1554 0.0828)
OKLCHoklch(57.49% 0.176 28.1)
XYZxyz(27.5669, 17.0234, 5.5749)
Luminance0.1702 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4238 #38C2CC
analogous
#CC3878 #CC4238 #CC8C38
triadic
#CC4238 #38CC42 #4238CC
tetradic
#CC4238 #78CC38 #38C2CC #8C38CC
square
#CC4238 #78CC38 #38C2CC #8C38CC
split-complementary
#CC4238 #38CC8C #3878CC
monochromatic
#6E221C #9E3129 #CC4238 #D87069 #E59F99

Accessibility & contrast

On white

4.77
#CC4238 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#CC4238 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC4238
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4238#FFFFFF#000000##FFFFFF
##CC42381.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696036
Deuteranopia (green-blind)
#8B7E33
Tritanopia (blue-blind)
#E01841
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cc4238;
/* rgb */ color: rgb(204, 66, 56);
/* oklch */ color: oklch(57.5% 0.176 28.1);
Tailwind
colors: {
  custom: {
    50: '#e47e6f',
    500: '#cc4238',
    950: '#000000',
  },
}
SCSS
$custom: #cc4238;
$custom-light: #e47e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4238",
  "rgb": {
    "r": 204,
    "g": 66,
    "b": 56
  },
  "hsl": {
    "h": 4.054,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57488,
    "c": 0.17609,
    "h": 28.1
  },
  "luminance": 0.17019
}

Semantic roles & 50–950 ramp

primary
#CC4238
secondary
#8FCCD1
accent
#D8E245
background
#FFF8F6
surface
#FEEFEC
border
#D6CAC7
text
#170A07
muted
#857C7A

Preview Lab

Preview with #CC4238

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

Preview Lab → · Contrast checker → · Palette generator →

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