#C0342D#C0342D

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

Color values

HEX#C0342D
RGBrgb(192, 52, 45)
HSLhsl(3, 62%, 46%)
HSVhsv(3, 77%, 75%)
CMYKcmyk(0%, 72.9%, 76.6%, 24.7%)
CIE-LABlab(44.02, 54.84, 37.44)
CIE-LCHlch(44.02, 66.40, 34.32°)
OKLaboklab(53.86% 0.1576 0.0828)
OKLCHoklch(53.86% 0.178 27.7)
XYZxyz(23.4426, 13.8555, 3.9221)
Luminance0.1385 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0342D #2DB9C0
analogous
#C02D70 #C0342D #C07E2D
triadic
#C0342D #2DC034 #342DC0
tetradic
#C0342D #70C02D #2DB9C0 #7E2DC0
square
#C0342D #70C02D #2DB9C0 #7E2DC0
split-complementary
#C0342D #2DC07E #2D70C0
monochromatic
#5D1916 #8E2721 #C0342D #D75A53 #E28985

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0342D#FFFFFF#000000##FFFFFF
##C0342D1.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)
#5E552B
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#D30034
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c0342d;
/* rgb */ color: rgb(192, 52, 45);
/* oklch */ color: oklch(53.9% 0.178 27.7);
Tailwind
colors: {
  custom: {
    50: '#dc7667',
    500: '#c0342d',
    950: '#000000',
  },
}
SCSS
$custom: #c0342d;
$custom-light: #dc7667;
$custom-dark: #000000;
JSON
{
  "hex": "#c0342d",
  "rgb": {
    "r": 192,
    "g": 52,
    "b": 45
  },
  "hsl": {
    "h": 2.857,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53855,
    "c": 0.17805,
    "h": 27.7
  },
  "luminance": 0.13852
}

Semantic roles & 50–950 ramp

primary
#C0342D
secondary
#7DC8CC
accent
#DDE543
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#170906
muted
#857B7A

Preview Lab

Preview with #C0342D

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

Preview Lab → · Contrast checker → · Palette generator →

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