#C52828#C52828

#C52828 is a mid, vivid red. Relative luminance 0.135; OKLCH L 53.7% C 0.193 H 26.7°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#C52828
RGBrgb(197, 40, 40)
HSLhsl(0, 66%, 46%)
HSVhsv(0, 80%, 77%)
CMYKcmyk(0%, 79.7%, 79.7%, 22.7%)
CIE-LABlab(43.57, 60.00, 40.05)
CIE-LCHlch(43.57, 72.14, 33.72°)
OKLaboklab(53.68% 0.1722 0.0866)
OKLCHoklch(53.68% 0.193 26.7)
XYZxyz(24.1707, 13.5450, 3.3489)
Luminance0.1354 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52828 #28C5C5
analogous
#C52877 #C52828 #C57728
triadic
#C52828 #28C528 #2828C5
tetradic
#C52828 #77C528 #28C5C5 #7728C5
square
#C52828 #77C528 #28C5C5 #7728C5
split-complementary
#C52828 #28C577 #2877C5
monochromatic
#5F1313 #921E1E #C52828 #DB4F4F #E68282

Accessibility & contrast

On white

5.66
#C52828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#C52828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52828
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52828#FFFFFF#000000##FFFFFF
##C528281.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5126
Deuteranopia (green-blind)
#817321
Tritanopia (blue-blind)
#D9002B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #c52828;
/* rgb */ color: rgb(197, 40, 40);
/* oklch */ color: oklch(53.7% 0.193 26.7);
Tailwind
colors: {
  custom: {
    50: '#e07163',
    500: '#c52828',
    950: '#000000',
  },
}
SCSS
$custom: #c52828;
$custom-light: #e07163;
$custom-dark: #000000;
JSON
{
  "hex": "#c52828",
  "rgb": {
    "r": 197,
    "g": 40,
    "b": 40
  },
  "hsl": {
    "h": 0,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53675,
    "c": 0.19279,
    "h": 26.7
  },
  "luminance": 0.13541
}

Semantic roles & 50–950 ramp

primary
#C52828
secondary
#7ACECE
accent
#E9E93F
background
#FFF7F5
surface
#FEEDEA
border
#D6C8C6
text
#170905
muted
#857B79

Preview Lab

Preview with #C52828

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

Preview Lab → · Contrast checker → · Palette generator →

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