#C04540#C04540

#C04540 is a mid, vivid red. Relative luminance 0.158; OKLCH L 56.0% C 0.159 H 25.9°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#C04540
RGBrgb(192, 69, 64)
HSLhsl(2, 50%, 50%)
HSVhsv(2, 67%, 75%)
CMYKcmyk(0%, 64.1%, 66.7%, 24.7%)
CIE-LABlab(46.76, 48.97, 29.64)
CIE-LCHlch(46.76, 57.24, 31.19°)
OKLaboklab(55.98% 0.143 0.0695)
OKLCHoklch(55.98% 0.159 25.9)
XYZxyz(24.7943, 15.8363, 6.6006)
Luminance0.1583 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04540 #40BBC0
analogous
#C0407B #C04540 #C08540
triadic
#C04540 #40C045 #4540C0
tetradic
#C04540 #7BC040 #40BBC0 #8540C0
square
#C04540 #7BC040 #40BBC0 #8540C0
split-complementary
#C04540 #40C085 #407BC0
monochromatic
#642421 #923430 #C04540 #CF726E #DE9F9C

Accessibility & contrast

On white

5.04
#C04540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#C04540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04540
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04540#FFFFFF#000000##FFFFFF
##C045401.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665E3F
Deuteranopia (green-blind)
#85793D
Tritanopia (blue-blind)
#D32845
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c04540;
/* rgb */ color: rgb(192, 69, 64);
/* oklch */ color: oklch(56.0% 0.159 25.9);
Tailwind
colors: {
  custom: {
    50: '#da7f75',
    500: '#c04540',
    950: '#000000',
  },
}
SCSS
$custom: #c04540;
$custom-light: #da7f75;
$custom-dark: #000000;
JSON
{
  "hex": "#c04540",
  "rgb": {
    "r": 192,
    "g": 69,
    "b": 64
  },
  "hsl": {
    "h": 2.344,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55982,
    "c": 0.15902,
    "h": 25.9
  },
  "luminance": 0.15833
}

Semantic roles & 50–950 ramp

primary
#C04540
secondary
#91C8CB
accent
#D4DA4E
background
#FEF8F7
surface
#FDEFED
border
#D5CAC8
text
#160A08
muted
#847C7B

Preview Lab

Preview with #C04540

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

Preview Lab → · Contrast checker → · Palette generator →

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