#C04842#C04842

#C04842 is a mid, vivid red. Relative luminance 0.162; OKLCH L 56.4% C 0.156 H 26.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C04842
RGBrgb(192, 72, 66)
HSLhsl(3, 50%, 51%)
HSVhsv(3, 66%, 75%)
CMYKcmyk(0%, 62.5%, 65.6%, 24.7%)
CIE-LABlab(47.29, 47.76, 29.11)
CIE-LCHlch(47.29, 55.93, 31.37°)
OKLaboklab(56.39% 0.1396 0.0686)
OKLCHoklch(56.39% 0.156 26.2)
XYZxyz(25.0414, 16.2379, 6.9688)
Luminance0.1623 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04842 #42BAC0
analogous
#C0427B #C04842 #C08742
triadic
#C04842 #42C048 #4842C0
tetradic
#C04842 #7BC042 #42BAC0 #8742C0
square
#C04842 #7BC042 #42BAC0 #8742C0
split-complementary
#C04842 #42C087 #427BC0
monochromatic
#662522 #943631 #C04842 #CF7470 #DFA19E

Accessibility & contrast

On white

4.94
#C04842 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#C04842 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04842
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04842#FFFFFF#000000##FFFFFF
##C048421.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#686041
Deuteranopia (green-blind)
#867A3F
Tritanopia (blue-blind)
#D22E47
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c04842;
/* rgb */ color: rgb(192, 72, 66);
/* oklch */ color: oklch(56.4% 0.156 26.2);
Tailwind
colors: {
  custom: {
    50: '#da8076',
    500: '#c04842',
    950: '#000000',
  },
}
SCSS
$custom: #c04842;
$custom-light: #da8076;
$custom-dark: #000000;
JSON
{
  "hex": "#c04842",
  "rgb": {
    "r": 192,
    "g": 72,
    "b": 66
  },
  "hsl": {
    "h": 2.857,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56387,
    "c": 0.15555,
    "h": 26.2
  },
  "luminance": 0.16235
}

Semantic roles & 50–950 ramp

primary
#C04842
secondary
#93C8CB
accent
#D3DA4E
background
#FEF8F7
surface
#FCEFED
border
#D5CAC8
text
#160B08
muted
#847C7B

Preview Lab

Preview with #C04842

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

Preview Lab → · Contrast checker → · Palette generator →

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