#C5303B#C5303B

#C5303B is a mid, vivid red. Relative luminance 0.143; OKLCH L 54.6% C 0.185 H 22.2°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#C5303B
RGBrgb(197, 48, 59)
HSLhsl(356, 61%, 48%)
HSVhsv(356, 76%, 77%)
CMYKcmyk(0%, 75.6%, 70.1%, 22.7%)
CIE-LABlab(44.67, 58.34, 30.27)
CIE-LCHlch(44.67, 65.72, 27.43°)
OKLaboklab(54.56% 0.1711 0.0699)
OKLCHoklch(54.56% 0.185 22.2)
XYZxyz(24.8751, 14.3038, 5.5879)
Luminance0.1430 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5303B #30C5BA
analogous
#C53086 #C5303B #C56F30
triadic
#C5303B #3BC530 #303BC5
tetradic
#C5303B #86C530 #30C5BA #6F30C5
square
#C5303B #86C530 #30C5BA #6F30C5
split-complementary
#C5303B #30C56F #3086C5
monochromatic
#63181E #94242C #C5303B #D75B64 #E38C93

Accessibility & contrast

On white

5.44
#C5303B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#C5303B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5303B
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5303B#FFFFFF#000000##FFFFFF
##C5303B1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C553A
Deuteranopia (green-blind)
#817536
Tritanopia (blue-blind)
#D90036
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c5303b;
/* rgb */ color: rgb(197, 48, 59);
/* oklch */ color: oklch(54.6% 0.185 22.2);
Tailwind
colors: {
  custom: {
    50: '#df7571',
    500: '#c5303b',
    950: '#000000',
  },
}
SCSS
$custom: #c5303b;
$custom-light: #df7571;
$custom-dark: #000000;
JSON
{
  "hex": "#c5303b",
  "rgb": {
    "r": 197,
    "g": 48,
    "b": 59
  },
  "hsl": {
    "h": 355.57,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54561,
    "c": 0.18479,
    "h": 22.2
  },
  "luminance": 0.143
}

Semantic roles & 50–950 ramp

primary
#C5303B
secondary
#84CDC8
accent
#E4D844
background
#FEF7F6
surface
#FDEDEC
border
#D5C8C7
text
#170907
muted
#857B7A

Preview Lab

Preview with #C5303B

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

Preview Lab → · Contrast checker → · Palette generator →

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