#C5252A#C5252A

#C5252A is a mid, vivid red. Relative luminance 0.134; OKLCH L 53.5% C 0.195 H 25.7°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#C5252A
RGBrgb(197, 37, 42)
HSLhsl(358, 68%, 46%)
HSVhsv(358, 81%, 77%)
CMYKcmyk(0%, 81.2%, 78.7%, 22.7%)
CIE-LABlab(43.31, 60.87, 38.66)
CIE-LCHlch(43.31, 72.11, 32.42°)
OKLaboklab(53.49% 0.1754 0.0842)
OKLCHoklch(53.49% 0.195 25.7)
XYZxyz(24.1084, 13.3645, 3.5003)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5252A #25C5C0
analogous
#C5257A #C5252A #C57025
triadic
#C5252A #2AC525 #252AC5
tetradic
#C5252A #7AC525 #25C5C0 #7025C5
square
#C5252A #7AC525 #25C5C0 #7025C5
split-complementary
#C5252A #25C570 #257AC5
monochromatic
#5E1214 #911B1F #C5252A #DD4A4F #E77E81

Accessibility & contrast

On white

5.72
#C5252A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#C5252A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5252A
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5252A#FFFFFF#000000##FFFFFF
##C5252A1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595028
Deuteranopia (green-blind)
#807323
Tritanopia (blue-blind)
#D90029
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c5252a;
/* rgb */ color: rgb(197, 37, 42);
/* oklch */ color: oklch(53.5% 0.195 25.7);
Tailwind
colors: {
  custom: {
    50: '#e07064',
    500: '#c5252a',
    950: '#000000',
  },
}
SCSS
$custom: #c5252a;
$custom-light: #e07064;
$custom-dark: #000000;
JSON
{
  "hex": "#c5252a",
  "rgb": {
    "r": 197,
    "g": 37,
    "b": 42
  },
  "hsl": {
    "h": 358.125,
    "s": 68.376,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53485,
    "c": 0.19458,
    "h": 25.7
  },
  "luminance": 0.13361
}

Semantic roles & 50–950 ramp

primary
#C5252A
secondary
#77CFCC
accent
#EBE63D
background
#FFF7F6
surface
#FEEDEB
border
#D6C8C6
text
#170905
muted
#857B7A

Preview Lab

Preview with #C5252A

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

Preview Lab → · Contrast checker → · Palette generator →

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