#C04042#C04042

#C04042 is a mid, vivid red. Relative luminance 0.153; OKLCH L 55.4% C 0.164 H 23.4°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#C04042
RGBrgb(192, 64, 66)
HSLhsl(359, 50%, 50%)
HSVhsv(359, 67%, 75%)
CMYKcmyk(0%, 66.7%, 65.6%, 24.7%)
CIE-LABlab(46.00, 51.21, 27.52)
CIE-LCHlch(46.00, 58.13, 28.25°)
OKLaboklab(55.42% 0.1505 0.065)
OKLCHoklch(55.42% 0.164 23.4)
XYZxyz(24.5575, 15.2701, 6.8075)
Luminance0.1527 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04042 #40C0BE
analogous
#C04082 #C04042 #C07E40
triadic
#C04042 #42C040 #4042C0
tetradic
#C04042 #82C040 #40C0BE #7E40C0
square
#C04042 #82C040 #40C0BE #7E40C0
split-complementary
#C04042 #40C07E #4082C0
monochromatic
#642122 #923032 #C04042 #CF6E70 #DE9C9D

Accessibility & contrast

On white

5.18
#C04042 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#C04042 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04042
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04042#FFFFFF#000000##FFFFFF
##C040421.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625C41
Deuteranopia (green-blind)
#83773E
Tritanopia (blue-blind)
#D32042
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c04042;
/* rgb */ color: rgb(192, 64, 66);
/* oklch */ color: oklch(55.4% 0.164 23.4);
Tailwind
colors: {
  custom: {
    50: '#da7c76',
    500: '#c04042',
    950: '#000000',
  },
}
SCSS
$custom: #c04042;
$custom-light: #da7c76;
$custom-dark: #000000;
JSON
{
  "hex": "#c04042",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 66
  },
  "hsl": {
    "h": 359.063,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55424,
    "c": 0.16395,
    "h": 23.4
  },
  "luminance": 0.15267
}

Semantic roles & 50–950 ramp

primary
#C04042
secondary
#91CBCA
accent
#DAD84E
background
#FEF7F7
surface
#FDEEED
border
#D5C9C8
text
#160A08
muted
#847C7B

Preview Lab

Preview with #C04042

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

Preview Lab → · Contrast checker → · Palette generator →

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