#C0342A#C0342A

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

Color values

HEX#C0342A
RGBrgb(192, 52, 42)
HSLhsl(4, 64%, 46%)
HSVhsv(4, 78%, 75%)
CMYKcmyk(0%, 72.9%, 78.1%, 24.7%)
CIE-LABlab(43.99, 54.73, 39.07)
CIE-LCHlch(43.99, 67.24, 35.53°)
OKLaboklab(53.82% 0.1566 0.0856)
OKLCHoklch(53.82% 0.178 28.6)
XYZxyz(23.3869, 13.8332, 3.6287)
Luminance0.1383 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0342A #2AB6C0
analogous
#C02A6B #C0342A #C07F2A
triadic
#C0342A #2AC034 #342AC0
tetradic
#C0342A #6BC02A #2AB6C0 #7F2AC0
square
#C0342A #6BC02A #2AB6C0 #7F2AC0
split-complementary
#C0342A #2AC07F #2A6BC0
monochromatic
#5C1914 #8E261F #C0342A #D8584F #E38881

Accessibility & contrast

On white

5.58
#C0342A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C0342A
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0342A#FFFFFF#000000##FFFFFF
##C0342A1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5427
Deuteranopia (green-blind)
#817324
Tritanopia (blue-blind)
#D40033
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c0342a;
/* rgb */ color: rgb(192, 52, 42);
/* oklch */ color: oklch(53.8% 0.178 28.6);
Tailwind
colors: {
  custom: {
    50: '#dc7665',
    500: '#c0342a',
    950: '#000000',
  },
}
SCSS
$custom: #c0342a;
$custom-light: #dc7665;
$custom-dark: #000000;
JSON
{
  "hex": "#c0342a",
  "rgb": {
    "r": 192,
    "g": 52,
    "b": 42
  },
  "hsl": {
    "h": 4,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53821,
    "c": 0.17848,
    "h": 28.6
  },
  "luminance": 0.1383
}

Semantic roles & 50–950 ramp

primary
#C0342A
secondary
#7AC7CC
accent
#DCE741
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#170905
muted
#857B7A

Preview Lab

Preview with #C0342A

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

Preview Lab → · Contrast checker → · Palette generator →

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