#C04742#C04742

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

Color values

HEX#C04742
RGBrgb(192, 71, 66)
HSLhsl(2, 50%, 51%)
HSVhsv(2, 66%, 75%)
CMYKcmyk(0%, 63%, 65.6%, 24.7%)
CIE-LABlab(47.12, 48.20, 28.91)
CIE-LCHlch(47.12, 56.20, 30.95°)
OKLaboklab(56.26% 0.141 0.0681)
OKLCHoklch(56.26% 0.157 25.8)
XYZxyz(24.9773, 16.1097, 6.9474)
Luminance0.1611 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04742 #42BBC0
analogous
#C0427C #C04742 #C08642
triadic
#C04742 #42C047 #4742C0
tetradic
#C04742 #7CC042 #42BBC0 #8642C0
square
#C04742 #7CC042 #42BBC0 #8642C0
split-complementary
#C04742 #42C086 #427CC0
monochromatic
#662522 #943531 #C04742 #CF7470 #DFA09E

Accessibility & contrast

On white

4.97
#C04742 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C04742
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04742#FFFFFF#000000##FFFFFF
##C047421.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675F41
Deuteranopia (green-blind)
#85793F
Tritanopia (blue-blind)
#D22C47
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c04742;
/* rgb */ color: rgb(192, 71, 66);
/* oklch */ color: oklch(56.3% 0.157 25.8);
Tailwind
colors: {
  custom: {
    50: '#da8076',
    500: '#c04742',
    950: '#000000',
  },
}
SCSS
$custom: #c04742;
$custom-light: #da8076;
$custom-dark: #000000;
JSON
{
  "hex": "#c04742",
  "rgb": {
    "r": 192,
    "g": 71,
    "b": 66
  },
  "hsl": {
    "h": 2.381,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56262,
    "c": 0.15661,
    "h": 25.8
  },
  "luminance": 0.16106
}

Semantic roles & 50–950 ramp

primary
#C04742
secondary
#93C9CB
accent
#D4DA4E
background
#FEF8F7
surface
#FCEFED
border
#D5CAC8
text
#160B08
muted
#847C7B

Preview Lab

Preview with #C04742

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

Preview Lab → · Contrast checker → · Palette generator →

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