#C04940#C04940

#C04940 is a mid, vivid red. Relative luminance 0.163; OKLCH L 56.5% C 0.155 H 27.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C04940
RGBrgb(192, 73, 64)
HSLhsl(4, 50%, 50%)
HSVhsv(4, 67%, 75%)
CMYKcmyk(0%, 62%, 66.7%, 24.7%)
CIE-LABlab(47.42, 47.19, 30.45)
CIE-LCHlch(47.42, 56.16, 32.83°)
OKLaboklab(56.48% 0.1374 0.0713)
OKLCHoklch(56.48% 0.155 27.4)
XYZxyz(25.0487, 16.3451, 6.6854)
Luminance0.1634 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04940 #40B7C0
analogous
#C04077 #C04940 #C08940
triadic
#C04940 #40C049 #4940C0
tetradic
#C04940 #77C040 #40B7C0 #8940C0
square
#C04940 #77C040 #40B7C0 #8940C0
split-complementary
#C04940 #40C089 #4077C0
monochromatic
#642621 #923730 #C04940 #CF756E #DEA19C

Accessibility & contrast

On white

4.92
#C04940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#C04940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04940
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04940#FFFFFF#000000##FFFFFF
##C049401.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69603E
Deuteranopia (green-blind)
#867A3D
Tritanopia (blue-blind)
#D22F48
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c04940;
/* rgb */ color: rgb(192, 73, 64);
/* oklch */ color: oklch(56.5% 0.155 27.4);
Tailwind
colors: {
  custom: {
    50: '#da8175',
    500: '#c04940',
    950: '#000000',
  },
}
SCSS
$custom: #c04940;
$custom-light: #da8175;
$custom-dark: #000000;
JSON
{
  "hex": "#c04940",
  "rgb": {
    "r": 192,
    "g": 73,
    "b": 64
  },
  "hsl": {
    "h": 4.219,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56482,
    "c": 0.15483,
    "h": 27.4
  },
  "luminance": 0.16342
}

Semantic roles & 50–950 ramp

primary
#C04940
secondary
#91C6CB
accent
#D0DA4E
background
#FEF8F7
surface
#FCEFED
border
#D5CAC8
text
#160B08
muted
#847C7B

Preview Lab

Preview with #C04940

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

Preview Lab → · Contrast checker → · Palette generator →

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