#C54840#C54840

#C54840 is a mid, vivid red. Relative luminance 0.169; OKLCH L 57.2% C 0.161 H 27.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#C54840
RGBrgb(197, 72, 64)
HSLhsl(4, 53%, 51%)
HSVhsv(4, 68%, 77%)
CMYKcmyk(0%, 63.5%, 67.5%, 22.7%)
CIE-LABlab(48.11, 49.38, 31.48)
CIE-LCHlch(48.11, 58.56, 32.52°)
OKLaboklab(57.16% 0.1437 0.0734)
OKLCHoklch(57.16% 0.161 27)
XYZxyz(26.2714, 16.8788, 6.7241)
Luminance0.1688 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54840 #40BDC5
analogous
#C5407A #C54840 #C58A40
triadic
#C54840 #40C548 #4840C5
tetradic
#C54840 #7AC540 #40BDC5 #8A40C5
square
#C54840 #7AC540 #40BDC5 #8A40C5
split-complementary
#C54840 #40C58A #407AC5
monochromatic
#6A2520 #99352F #C54840 #D3756F #E2A29E

Accessibility & contrast

On white

4.80
#C54840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#C54840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C54840
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54840#FFFFFF#000000##FFFFFF
##C548401.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A613E
Deuteranopia (green-blind)
#897C3C
Tritanopia (blue-blind)
#D82B47
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c54840;
/* rgb */ color: rgb(197, 72, 64);
/* oklch */ color: oklch(57.2% 0.161 27.0);
Tailwind
colors: {
  custom: {
    50: '#de8175',
    500: '#c54840',
    950: '#000000',
  },
}
SCSS
$custom: #c54840;
$custom-light: #de8175;
$custom-dark: #000000;
JSON
{
  "hex": "#c54840",
  "rgb": {
    "r": 197,
    "g": 72,
    "b": 64
  },
  "hsl": {
    "h": 3.609,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57157,
    "c": 0.16139,
    "h": 27
  },
  "luminance": 0.16875
}

Semantic roles & 50–950 ramp

primary
#C54840
secondary
#93CACE
accent
#D4DD4B
background
#FEF8F7
surface
#FDEFED
border
#D5CAC8
text
#160B08
muted
#847C7B

Preview Lab

Preview with #C54840

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

Preview Lab → · Contrast checker → · Palette generator →

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