#C0342B#C0342B

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

Color values

HEX#C0342B
RGBrgb(192, 52, 43)
HSLhsl(4, 63%, 46%)
HSVhsv(4, 78%, 75%)
CMYKcmyk(0%, 72.9%, 77.6%, 24.7%)
CIE-LABlab(44.00, 54.76, 38.53)
CIE-LCHlch(44.00, 66.96, 35.13°)
OKLaboklab(53.83% 0.157 0.0847)
OKLCHoklch(53.83% 0.178 28.3)
XYZxyz(23.4050, 13.8405, 3.7241)
Luminance0.1384 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0342B #2BB7C0
analogous
#C02B6C #C0342B #C07E2B
triadic
#C0342B #2BC034 #342BC0
tetradic
#C0342B #6CC02B #2BB7C0 #7E2BC0
square
#C0342B #6CC02B #2BB7C0 #7E2BC0
split-complementary
#C0342B #2BC07E #2B6CC0
monochromatic
#5C1915 #8E2620 #C0342B #D85950 #E38882

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0342B#FFFFFF#000000##FFFFFF
##C0342B1.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)
#5E5529
Deuteranopia (green-blind)
#807325
Tritanopia (blue-blind)
#D30033
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c0342b;
/* rgb */ color: rgb(192, 52, 43);
/* oklch */ color: oklch(53.8% 0.178 28.3);
Tailwind
colors: {
  custom: {
    50: '#dc7665',
    500: '#c0342b',
    950: '#000000',
  },
}
SCSS
$custom: #c0342b;
$custom-light: #dc7665;
$custom-dark: #000000;
JSON
{
  "hex": "#c0342b",
  "rgb": {
    "r": 192,
    "g": 52,
    "b": 43
  },
  "hsl": {
    "h": 3.624,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53832,
    "c": 0.17833,
    "h": 28.3
  },
  "luminance": 0.13837
}

Semantic roles & 50–950 ramp

primary
#C0342B
secondary
#7BC7CC
accent
#DCE641
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#170906
muted
#857B7A

Preview Lab

Preview with #C0342B

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

Preview Lab → · Contrast checker → · Palette generator →

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