#C5282A#C5282A

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

Color values

HEX#C5282A
RGBrgb(197, 40, 42)
HSLhsl(359, 66%, 46%)
HSVhsv(359, 80%, 77%)
CMYKcmyk(0%, 79.7%, 78.7%, 22.7%)
CIE-LABlab(43.59, 60.06, 38.96)
CIE-LCHlch(43.59, 71.59, 32.97°)
OKLaboklab(53.7% 0.1729 0.0849)
OKLCHoklch(53.7% 0.193 26.2)
XYZxyz(24.2056, 13.5590, 3.5327)
Luminance0.1356 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5282A #28C5C3
analogous
#C52879 #C5282A #C57528
triadic
#C5282A #2AC528 #282AC5
tetradic
#C5282A #79C528 #28C5C3 #7528C5
square
#C5282A #79C528 #28C5C3 #7528C5
split-complementary
#C5282A #28C575 #2879C5
monochromatic
#5F1314 #921E1F #C5282A #DB4F51 #E68283

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5282A#FFFFFF#000000##FFFFFF
##C5282A1.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)
#5A5128
Deuteranopia (green-blind)
#817323
Tritanopia (blue-blind)
#D9002B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #c5282a;
/* rgb */ color: rgb(197, 40, 42);
/* oklch */ color: oklch(53.7% 0.193 26.2);
Tailwind
colors: {
  custom: {
    50: '#e07164',
    500: '#c5282a',
    950: '#000000',
  },
}
SCSS
$custom: #c5282a;
$custom-light: #e07164;
$custom-dark: #000000;
JSON
{
  "hex": "#c5282a",
  "rgb": {
    "r": 197,
    "g": 40,
    "b": 42
  },
  "hsl": {
    "h": 359.236,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53697,
    "c": 0.19257,
    "h": 26.2
  },
  "luminance": 0.13555
}

Semantic roles & 50–950 ramp

primary
#C5282A
secondary
#7ACECD
accent
#E9E73F
background
#FFF7F6
surface
#FEEDEB
border
#D6C8C6
text
#170905
muted
#857B7A

Preview Lab

Preview with #C5282A

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

Preview Lab → · Contrast checker → · Palette generator →

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