#C5252B#C5252B

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

Color values

HEX#C5252B
RGBrgb(197, 37, 43)
HSLhsl(358, 68%, 46%)
HSVhsv(358, 81%, 77%)
CMYKcmyk(0%, 81.2%, 78.2%, 22.7%)
CIE-LABlab(43.32, 60.90, 38.11)
CIE-LCHlch(43.32, 71.84, 32.03°)
OKLaboklab(53.5% 0.1757 0.0833)
OKLCHoklch(53.5% 0.194 25.4)
XYZxyz(24.1265, 13.3718, 3.5957)
Luminance0.1337 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5252B #25C5BF
analogous
#C5257B #C5252B #C56F25
triadic
#C5252B #2BC525 #252BC5
tetradic
#C5252B #7BC525 #25C5BF #6F25C5
square
#C5252B #7BC525 #25C5BF #6F25C5
split-complementary
#C5252B #25C56F #257BC5
monochromatic
#5E1215 #911B20 #C5252B #DD4A50 #E77E82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5252B#FFFFFF#000000##FFFFFF
##C5252B1.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)
#595029
Deuteranopia (green-blind)
#807324
Tritanopia (blue-blind)
#D9002A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c5252b;
/* rgb */ color: rgb(197, 37, 43);
/* oklch */ color: oklch(53.5% 0.194 25.4);
Tailwind
colors: {
  custom: {
    50: '#e07065',
    500: '#c5252b',
    950: '#000000',
  },
}
SCSS
$custom: #c5252b;
$custom-light: #e07065;
$custom-dark: #000000;
JSON
{
  "hex": "#c5252b",
  "rgb": {
    "r": 197,
    "g": 37,
    "b": 43
  },
  "hsl": {
    "h": 357.75,
    "s": 68.376,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53496,
    "c": 0.19448,
    "h": 25.4
  },
  "luminance": 0.13368
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5252B

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

Preview Lab → · Contrast checker → · Palette generator →

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