#C52A27#C52A27

#C52A27 is a mid, vivid red. Relative luminance 0.137; OKLCH L 53.8% C 0.192 H 27.3°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#C52A27
RGBrgb(197, 42, 39)
HSLhsl(1, 67%, 46%)
HSVhsv(1, 80%, 77%)
CMYKcmyk(0%, 78.7%, 80.2%, 22.7%)
CIE-LABlab(43.77, 59.40, 40.79)
CIE-LCHlch(43.77, 72.05, 34.48°)
OKLaboklab(53.82% 0.1701 0.0879)
OKLCHoklch(53.82% 0.192 27.3)
XYZxyz(24.2231, 13.6766, 3.2835)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C52A27 #27C2C5
analogous
#C52773 #C52A27 #C57927
triadic
#C52A27 #27C52A #2A27C5
tetradic
#C52A27 #73C527 #27C2C5 #7927C5
square
#C52A27 #73C527 #27C2C5 #7927C5
split-complementary
#C52A27 #27C579 #2773C5
monochromatic
#5F1413 #921F1D #C52A27 #DC504D #E68280

Accessibility & contrast

On white

5.62
#C52A27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#C52A27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C52A27
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C52A27#FFFFFF#000000##FFFFFF
##C52A271.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c52a27;
/* rgb */ color: rgb(197, 42, 39);
/* oklch */ color: oklch(53.8% 0.192 27.3);
Tailwind
colors: {
  custom: {
    50: '#e07262',
    500: '#c52a27',
    950: '#000000',
  },
}
SCSS
$custom: #c52a27;
$custom-light: #e07262;
$custom-dark: #000000;
JSON
{
  "hex": "#c52a27",
  "rgb": {
    "r": 197,
    "g": 42,
    "b": 39
  },
  "hsl": {
    "h": 1.139,
    "s": 66.949,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53815,
    "c": 0.19151,
    "h": 27.3
  },
  "luminance": 0.13673
}

Semantic roles & 50–950 ramp

primary
#C52A27
secondary
#79CDCF
accent
#E7EA3E
background
#FFF7F5
surface
#FEEDEA
border
#D6C8C6
text
#170905
muted
#857B79

Preview Lab

Preview with #C52A27

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

Preview Lab → · Contrast checker → · Palette generator →

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