#C04740#C04740

#C04740 is a mid, vivid red. Relative luminance 0.161; OKLCH L 56.2% C 0.157 H 26.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#C04740
RGBrgb(192, 71, 64)
HSLhsl(3, 50%, 50%)
HSVhsv(3, 67%, 75%)
CMYKcmyk(0%, 63%, 66.7%, 24.7%)
CIE-LABlab(47.09, 48.08, 30.04)
CIE-LCHlch(47.09, 56.70, 31.99°)
OKLaboklab(56.23% 0.1403 0.0704)
OKLCHoklch(56.23% 0.157 26.7)
XYZxyz(24.9194, 16.0865, 6.6423)
Luminance0.1608 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04740 #40B9C0
analogous
#C04079 #C04740 #C08740
triadic
#C04740 #40C047 #4740C0
tetradic
#C04740 #79C040 #40B9C0 #8740C0
square
#C04740 #79C040 #40B9C0 #8740C0
split-complementary
#C04740 #40C087 #4079C0
monochromatic
#642521 #923630 #C04740 #CF736E #DEA09C

Accessibility & contrast

On white

4.98
#C04740 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#C04740 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04740
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04740#FFFFFF#000000##FFFFFF
##C047401.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675F3E
Deuteranopia (green-blind)
#85793D
Tritanopia (blue-blind)
#D22C46
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c04740;
/* rgb */ color: rgb(192, 71, 64);
/* oklch */ color: oklch(56.2% 0.157 26.7);
Tailwind
colors: {
  custom: {
    50: '#da8075',
    500: '#c04740',
    950: '#000000',
  },
}
SCSS
$custom: #c04740;
$custom-light: #da8075;
$custom-dark: #000000;
JSON
{
  "hex": "#c04740",
  "rgb": {
    "r": 192,
    "g": 71,
    "b": 64
  },
  "hsl": {
    "h": 3.281,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56229,
    "c": 0.15692,
    "h": 26.7
  },
  "luminance": 0.16083
}

Semantic roles & 50–950 ramp

primary
#C04740
secondary
#91C7CB
accent
#D2DA4E
background
#FEF8F7
surface
#FCEFED
border
#D5CAC8
text
#160B08
muted
#847C7B

Preview Lab

Preview with #C04740

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

Preview Lab → · Contrast checker → · Palette generator →

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