#C0402C#C0402C

#C0402C is a mid, vivid red. Relative luminance 0.151; OKLCH L 55.1% C 0.168 H 31.6°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#C0402C
RGBrgb(192, 64, 44)
HSLhsl(8, 63%, 46%)
HSVhsv(8, 77%, 75%)
CMYKcmyk(0%, 66.7%, 77.1%, 24.7%)
CIE-LABlab(45.71, 50.15, 39.79)
CIE-LCHlch(45.71, 64.01, 38.43°)
OKLaboklab(55.12% 0.1427 0.0877)
OKLCHoklch(55.12% 0.168 31.6)
XYZxyz(24.0289, 15.0586, 4.0237)
Luminance0.1505 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0402C #2CACC0
analogous
#C02C62 #C0402C #C08A2C
triadic
#C0402C #2CC040 #402CC0
tetradic
#C0402C #62C02C #2CACC0 #8A2CC0
square
#C0402C #62C02C #2CACC0 #8A2CC0
split-complementary
#C0402C #2CC08A #2C62C0
monochromatic
#5C1F15 #8E2F21 #C0402C #D76452 #E39184

Accessibility & contrast

On white

5.24
#C0402C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#C0402C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0402C
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0402C#FFFFFF#000000##FFFFFF
##C0402C1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655A29
Deuteranopia (green-blind)
#847727
Tritanopia (blue-blind)
#D31A3C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c0402c;
/* rgb */ color: rgb(192, 64, 44);
/* oklch */ color: oklch(55.1% 0.168 31.6);
Tailwind
colors: {
  custom: {
    50: '#db7c66',
    500: '#c0402c',
    950: '#000000',
  },
}
SCSS
$custom: #c0402c;
$custom-light: #db7c66;
$custom-dark: #000000;
JSON
{
  "hex": "#c0402c",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 44
  },
  "hsl": {
    "h": 8.108,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55117,
    "c": 0.1675,
    "h": 31.6
  },
  "luminance": 0.15055
}

Semantic roles & 50–950 ramp

primary
#C0402C
secondary
#7CC1CC
accent
#D0E642
background
#FEF7F6
surface
#FDEEEB
border
#D5C9C6
text
#170A06
muted
#857C7A

Preview Lab

Preview with #C0402C

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

Preview Lab → · Contrast checker → · Palette generator →

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