#C54842#C54842

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

Color values

HEX#C54842
RGBrgb(197, 72, 66)
HSLhsl(3, 53%, 52%)
HSVhsv(3, 66%, 77%)
CMYKcmyk(0%, 63.5%, 66.5%, 22.7%)
CIE-LABlab(48.14, 49.49, 30.35)
CIE-LCHlch(48.14, 58.05, 31.52°)
OKLaboklab(57.19% 0.1445 0.0712)
OKLCHoklch(57.19% 0.161 26.2)
XYZxyz(26.3293, 16.9020, 7.0292)
Luminance0.1690 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54842 #42BFC5
analogous
#C5427E #C54842 #C58A42
triadic
#C54842 #42C548 #4842C5
tetradic
#C54842 #7EC542 #42BFC5 #8A42C5
square
#C54842 #7EC542 #42BFC5 #8A42C5
split-complementary
#C54842 #42C58A #427EC5
monochromatic
#6C2421 #9A342F #C54842 #D37571 #E2A3A0

Accessibility & contrast

On white

4.79
#C54842 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C54842
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54842#FFFFFF#000000##FFFFFF
##C548421.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696140
Deuteranopia (green-blind)
#897C3F
Tritanopia (blue-blind)
#D82B48
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c54842;
/* rgb */ color: rgb(197, 72, 66);
/* oklch */ color: oklch(57.2% 0.161 26.2);
Tailwind
colors: {
  custom: {
    50: '#de8176',
    500: '#c54842',
    950: '#000000',
  },
}
SCSS
$custom: #c54842;
$custom-light: #de8176;
$custom-dark: #000000;
JSON
{
  "hex": "#c54842",
  "rgb": {
    "r": 197,
    "g": 72,
    "b": 66
  },
  "hsl": {
    "h": 2.748,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57188,
    "c": 0.16105,
    "h": 26.2
  },
  "luminance": 0.16898
}

Semantic roles & 50–950 ramp

primary
#C54842
secondary
#95CCCE
accent
#D6DC4B
background
#FEF8F7
surface
#FDEFED
border
#D5CAC8
text
#160B08
muted
#847C7B

Preview Lab

Preview with #C54842

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

Preview Lab → · Contrast checker → · Palette generator →

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