#CC3228#CC3228

#CC3228 is a mid, vivid red. Relative luminance 0.153; OKLCH L 55.7% C 0.192 H 28.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#CC3228
RGBrgb(204, 50, 40)
HSLhsl(4, 67%, 48%)
HSVhsv(4, 80%, 80%)
CMYKcmyk(0%, 75.5%, 80.4%, 20%)
CIE-LABlab(46.01, 59.06, 42.94)
CIE-LCHlch(46.01, 73.02, 36.01°)
OKLaboklab(55.73% 0.1685 0.0923)
OKLCHoklch(55.73% 0.192 28.7)
XYZxyz(26.4286, 15.2760, 3.5641)
Luminance0.1527 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC3228 #28C2CC
analogous
#CC2870 #CC3228 #CC8428
triadic
#CC3228 #28CC32 #3228CC
tetradic
#CC3228 #70CC28 #28C2CC #8428CC
square
#CC3228 #70CC28 #28C2CC #8428CC
split-complementary
#CC3228 #28CC84 #2870CC
monochromatic
#661914 #99251E #CC3228 #DD5C54 #E78D87

Accessibility & contrast

On white

5.18
#CC3228 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#CC3228 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CC3228
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC3228#FFFFFF#000000##FFFFFF
##CC32281.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625725
Deuteranopia (green-blind)
#887920
Tritanopia (blue-blind)
#E10032
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #cc3228;
/* rgb */ color: rgb(204, 50, 40);
/* oklch */ color: oklch(55.7% 0.192 28.7);
Tailwind
colors: {
  custom: {
    50: '#e57663',
    500: '#cc3228',
    950: '#000000',
  },
}
SCSS
$custom: #cc3228;
$custom-light: #e57663;
$custom-dark: #000000;
JSON
{
  "hex": "#cc3228",
  "rgb": {
    "r": 204,
    "g": 50,
    "b": 40
  },
  "hsl": {
    "h": 3.659,
    "s": 67.213,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5573,
    "c": 0.19216,
    "h": 28.7
  },
  "luminance": 0.15272
}

Semantic roles & 50–950 ramp

primary
#CC3228
secondary
#7FCCD1
accent
#E0EA3E
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180905
muted
#867B7A

Preview Lab

Preview with #CC3228

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

Preview Lab → · Contrast checker → · Palette generator →

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