#C0342F#C0342F

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

Color values

HEX#C0342F
RGBrgb(192, 52, 47)
HSLhsl(2, 61%, 47%)
HSVhsv(2, 76%, 75%)
CMYKcmyk(0%, 72.9%, 75.5%, 24.7%)
CIE-LABlab(44.05, 54.91, 36.33)
CIE-LCHlch(44.05, 65.84, 33.49°)
OKLaboklab(53.88% 0.1583 0.081)
OKLCHoklch(53.88% 0.178 27.1)
XYZxyz(23.4820, 13.8713, 4.1298)
Luminance0.1387 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0342F #2FBBC0
analogous
#C02F73 #C0342F #C07D2F
triadic
#C0342F #2FC034 #342FC0
tetradic
#C0342F #73C02F #2FBBC0 #7D2FC0
square
#C0342F #73C02F #2FBBC0 #7D2FC0
split-complementary
#C0342F #2FC07D #2F73C0
monochromatic
#5E1917 #8F2723 #C0342F #D65B56 #E28B88

Accessibility & contrast

On white

5.56
#C0342F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C0342F
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0342F#FFFFFF#000000##FFFFFF
##C0342F1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D552D
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#D30034
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c0342f;
/* rgb */ color: rgb(192, 52, 47);
/* oklch */ color: oklch(53.9% 0.178 27.1);
Tailwind
colors: {
  custom: {
    50: '#dc7668',
    500: '#c0342f',
    950: '#000000',
  },
}
SCSS
$custom: #c0342f;
$custom-light: #dc7668;
$custom-dark: #000000;
JSON
{
  "hex": "#c0342f",
  "rgb": {
    "r": 192,
    "g": 52,
    "b": 47
  },
  "hsl": {
    "h": 2.069,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5388,
    "c": 0.17777,
    "h": 27.1
  },
  "luminance": 0.13868
}

Semantic roles & 50–950 ramp

primary
#C0342F
secondary
#7FC9CB
accent
#DEE444
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#170906
muted
#857B7A

Preview Lab

Preview with #C0342F

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

Preview Lab → · Contrast checker → · Palette generator →

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