#C5262A#C5262A

#C5262A is a mid, vivid red. Relative luminance 0.134; OKLCH L 53.6% C 0.194 H 25.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#C5262A
RGBrgb(197, 38, 42)
HSLhsl(358, 68%, 46%)
HSVhsv(358, 81%, 77%)
CMYKcmyk(0%, 80.7%, 78.7%, 22.7%)
CIE-LABlab(43.40, 60.61, 38.76)
CIE-LCHlch(43.40, 71.94, 32.60°)
OKLaboklab(53.55% 0.1746 0.0845)
OKLCHoklch(53.55% 0.194 25.8)
XYZxyz(24.1399, 13.4276, 3.5108)
Luminance0.1342 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5262A #26C5C1
analogous
#C52679 #C5262A #C57226
triadic
#C5262A #2AC526 #262AC5
tetradic
#C5262A #79C526 #26C5C1 #7226C5
square
#C5262A #79C526 #26C5C1 #7226C5
split-complementary
#C5262A #26C572 #2679C5
monochromatic
#5E1214 #921C1F #C5262A #DC4C4F #E67F82

Accessibility & contrast

On white

5.70
#C5262A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#C5262A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5262A
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5262A#FFFFFF#000000##FFFFFF
##C5262A1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5262a;
/* rgb */ color: rgb(197, 38, 42);
/* oklch */ color: oklch(53.6% 0.194 25.8);
Tailwind
colors: {
  custom: {
    50: '#e07164',
    500: '#c5262a',
    950: '#000000',
  },
}
SCSS
$custom: #c5262a;
$custom-light: #e07164;
$custom-dark: #000000;
JSON
{
  "hex": "#c5262a",
  "rgb": {
    "r": 197,
    "g": 38,
    "b": 42
  },
  "hsl": {
    "h": 358.491,
    "s": 67.66,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53554,
    "c": 0.19392,
    "h": 25.8
  },
  "luminance": 0.13424
}

Semantic roles & 50–950 ramp

primary
#C5262A
secondary
#78CFCD
accent
#EBE63D
background
#FFF7F6
surface
#FEEDEB
border
#D6C8C6
text
#170905
muted
#857B7A

Preview Lab

Preview with #C5262A

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

Preview Lab → · Contrast checker → · Palette generator →

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