#C52827#C52827

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

Color values

HEX#C52827
RGBrgb(197, 40, 39)
HSLhsl(0, 67%, 46%)
HSVhsv(0, 80%, 77%)
CMYKcmyk(0%, 79.7%, 80.2%, 22.7%)
CIE-LABlab(43.56, 59.96, 40.59)
CIE-LCHlch(43.56, 72.41, 34.09°)
OKLaboklab(53.67% 0.1719 0.0875)
OKLCHoklch(53.67% 0.193 27)
XYZxyz(24.1539, 13.5383, 3.2604)
Luminance0.1353 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52827 #27C4C5
analogous
#C52775 #C52827 #C57727
triadic
#C52827 #27C528 #2827C5
tetradic
#C52827 #75C527 #27C4C5 #7727C5
square
#C52827 #75C527 #27C4C5 #7727C5
split-complementary
#C52827 #27C577 #2775C5
monochromatic
#5F1313 #921E1D #C52827 #DC4E4D #E68180

Accessibility & contrast

On white

5.67
#C52827 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C52827
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52827#FFFFFF#000000##FFFFFF
##C528271.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5125
Deuteranopia (green-blind)
#81731F
Tritanopia (blue-blind)
#D9002A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #c52827;
/* rgb */ color: rgb(197, 40, 39);
/* oklch */ color: oklch(53.7% 0.193 27.0);
Tailwind
colors: {
  custom: {
    50: '#e17162',
    500: '#c52827',
    950: '#000000',
  },
}
SCSS
$custom: #c52827;
$custom-light: #e17162;
$custom-dark: #000000;
JSON
{
  "hex": "#c52827",
  "rgb": {
    "r": 197,
    "g": 40,
    "b": 39
  },
  "hsl": {
    "h": 0.38,
    "s": 66.949,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53665,
    "c": 0.19291,
    "h": 27
  },
  "luminance": 0.13534
}

Semantic roles & 50–950 ramp

primary
#C52827
secondary
#79CECF
accent
#E9EA3E
background
#FFF7F5
surface
#FEEDEA
border
#D6C8C6
text
#170905
muted
#857B79

Preview Lab

Preview with #C52827

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

Preview Lab → · Contrast checker → · Palette generator →

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