#C5303E#C5303E

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

Color values

HEX#C5303E
RGBrgb(197, 48, 62)
HSLhsl(354, 61%, 48%)
HSVhsv(354, 76%, 77%)
CMYKcmyk(0%, 75.6%, 68.5%, 22.7%)
CIE-LABlab(44.71, 58.48, 28.53)
CIE-LCHlch(44.71, 65.07, 26.00°)
OKLaboklab(54.61% 0.1722 0.0665)
OKLCHoklch(54.61% 0.185 21.1)
XYZxyz(24.9552, 14.3358, 6.0096)
Luminance0.1433 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5303E #30C5B7
analogous
#C53089 #C5303E #C56C30
triadic
#C5303E #3EC530 #303EC5
tetradic
#C5303E #89C530 #30C5B7 #6C30C5
square
#C5303E #89C530 #30C5B7 #6C30C5
split-complementary
#C5303E #30C56C #3089C5
monochromatic
#63181F #94242F #C5303E #D75B67 #E38C94

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5303E#FFFFFF#000000##FFFFFF
##C5303E1.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)
#5C563D
Deuteranopia (green-blind)
#817539
Tritanopia (blue-blind)
#D80037
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c5303e;
/* rgb */ color: rgb(197, 48, 62);
/* oklch */ color: oklch(54.6% 0.185 21.1);
Tailwind
colors: {
  custom: {
    50: '#df7573',
    500: '#c5303e',
    950: '#000000',
  },
}
SCSS
$custom: #c5303e;
$custom-light: #df7573;
$custom-dark: #000000;
JSON
{
  "hex": "#c5303e",
  "rgb": {
    "r": 197,
    "g": 48,
    "b": 62
  },
  "hsl": {
    "h": 354.362,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54609,
    "c": 0.18458,
    "h": 21.1
  },
  "luminance": 0.14332
}

Semantic roles & 50–950 ramp

primary
#C5303E
secondary
#84CDC6
accent
#E4D544
background
#FEF7F6
surface
#FDEEEC
border
#D5C9C7
text
#170908
muted
#857B7B

Preview Lab

Preview with #C5303E

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

Preview Lab → · Contrast checker → · Palette generator →

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