#C5303F#C5303F

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

Color values

HEX#C5303F
RGBrgb(197, 48, 63)
HSLhsl(354, 61%, 48%)
HSVhsv(354, 76%, 77%)
CMYKcmyk(0%, 75.6%, 68%, 22.7%)
CIE-LABlab(44.73, 58.53, 27.94)
CIE-LCHlch(44.73, 64.86, 25.52°)
OKLaboklab(54.63% 0.1726 0.0654)
OKLCHoklch(54.63% 0.185 20.8)
XYZxyz(24.9829, 14.3469, 6.1554)
Luminance0.1434 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5303F #30C5B6
analogous
#C53089 #C5303F #C56C30
triadic
#C5303F #3FC530 #303FC5
tetradic
#C5303F #89C530 #30C5B6 #6C30C5
square
#C5303F #89C530 #30C5B6 #6C30C5
split-complementary
#C5303F #30C56C #3089C5
monochromatic
#631820 #94242F #C5303F #D75B68 #E38C95

Accessibility & contrast

On white

5.43
#C5303F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#C5303F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5303F
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5303F#FFFFFF#000000##FFFFFF
##C5303F1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C563E
Deuteranopia (green-blind)
#81753A
Tritanopia (blue-blind)
#D80037
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c5303f;
/* rgb */ color: rgb(197, 48, 63);
/* oklch */ color: oklch(54.6% 0.185 20.8);
Tailwind
colors: {
  custom: {
    50: '#df7574',
    500: '#c5303f',
    950: '#000000',
  },
}
SCSS
$custom: #c5303f;
$custom-light: #df7574;
$custom-dark: #000000;
JSON
{
  "hex": "#c5303f",
  "rgb": {
    "r": 197,
    "g": 48,
    "b": 63
  },
  "hsl": {
    "h": 353.96,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54626,
    "c": 0.18452,
    "h": 20.8
  },
  "luminance": 0.14343
}

Semantic roles & 50–950 ramp

primary
#C5303F
secondary
#84CDC6
accent
#E4D444
background
#FEF7F7
surface
#FDEEED
border
#D5C9C8
text
#170908
muted
#857B7B

Preview Lab

Preview with #C5303F

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

Preview Lab → · Contrast checker → · Palette generator →

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