#C0342C#C0342C

#C0342C is a mid, vivid red. Relative luminance 0.138; OKLCH L 53.8% C 0.178 H 28.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#C0342C
RGBrgb(192, 52, 44)
HSLhsl(3, 63%, 46%)
HSVhsv(3, 77%, 75%)
CMYKcmyk(0%, 72.9%, 77.1%, 24.7%)
CIE-LABlab(44.01, 54.80, 37.99)
CIE-LCHlch(44.01, 66.68, 34.73°)
OKLaboklab(53.84% 0.1573 0.0838)
OKLCHoklch(53.84% 0.178 28)
XYZxyz(23.4236, 13.8479, 3.8219)
Luminance0.1384 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0342C #2CB8C0
analogous
#C02C6E #C0342C #C07E2C
triadic
#C0342C #2CC034 #342CC0
tetradic
#C0342C #6EC02C #2CB8C0 #7E2CC0
square
#C0342C #6EC02C #2CB8C0 #7E2CC0
split-complementary
#C0342C #2CC07E #2C6EC0
monochromatic
#5C1915 #8E2721 #C0342C #D75952 #E38984

Accessibility & contrast

On white

5.57
#C0342C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#C0342C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0342C
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0342C#FFFFFF#000000##FFFFFF
##C0342C1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E552A
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#D30034
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c0342c;
/* rgb */ color: rgb(192, 52, 44);
/* oklch */ color: oklch(53.8% 0.178 28.0);
Tailwind
colors: {
  custom: {
    50: '#dc7666',
    500: '#c0342c',
    950: '#000000',
  },
}
SCSS
$custom: #c0342c;
$custom-light: #dc7666;
$custom-dark: #000000;
JSON
{
  "hex": "#c0342c",
  "rgb": {
    "r": 192,
    "g": 52,
    "b": 44
  },
  "hsl": {
    "h": 3.243,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53844,
    "c": 0.17818,
    "h": 28
  },
  "luminance": 0.13844
}

Semantic roles & 50–950 ramp

primary
#C0342C
secondary
#7CC8CC
accent
#DDE642
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#170906
muted
#857B7A

Preview Lab

Preview with #C0342C

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

Preview Lab → · Contrast checker → · Palette generator →

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