#C54042#C54042

#C54042 is a mid, vivid red. Relative luminance 0.159; OKLCH L 56.3% C 0.169 H 23.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#C54042
RGBrgb(197, 64, 66)
HSLhsl(359, 53%, 51%)
HSVhsv(359, 68%, 77%)
CMYKcmyk(0%, 67.5%, 66.5%, 22.7%)
CIE-LABlab(46.89, 52.86, 28.81)
CIE-LCHlch(46.89, 60.20, 28.59°)
OKLaboklab(56.25% 0.1551 0.0678)
OKLCHoklch(56.25% 0.169 23.6)
XYZxyz(25.8454, 15.9341, 6.8679)
Luminance0.1593 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54042 #40C5C3
analogous
#C54084 #C54042 #C58040
triadic
#C54042 #42C540 #4042C5
tetradic
#C54042 #84C540 #40C5C3 #8040C5
square
#C54042 #84C540 #40C5C3 #8040C5
split-complementary
#C54042 #40C580 #4084C5
monochromatic
#6A2021 #992F30 #C54042 #D36F70 #E29E9F

Accessibility & contrast

On white

5.02
#C54042 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#C54042 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C54042
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54042#FFFFFF#000000##FFFFFF
##C540421.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645D41
Deuteranopia (green-blind)
#867A3E
Tritanopia (blue-blind)
#D81D42
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c54042;
/* rgb */ color: rgb(197, 64, 66);
/* oklch */ color: oklch(56.3% 0.169 23.6);
Tailwind
colors: {
  custom: {
    50: '#de7c76',
    500: '#c54042',
    950: '#000000',
  },
}
SCSS
$custom: #c54042;
$custom-light: #de7c76;
$custom-dark: #000000;
JSON
{
  "hex": "#c54042",
  "rgb": {
    "r": 197,
    "g": 64,
    "b": 66
  },
  "hsl": {
    "h": 359.098,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56252,
    "c": 0.16928,
    "h": 23.6
  },
  "luminance": 0.1593
}

Semantic roles & 50–950 ramp

primary
#C54042
secondary
#93CECD
accent
#DDDB4B
background
#FEF7F7
surface
#FDEEED
border
#D5C9C8
text
#170A08
muted
#857C7B

Preview Lab

Preview with #C54042

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

Preview Lab → · Contrast checker → · Palette generator →

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