#C0402B#C0402B

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

Color values

HEX#C0402B
RGBrgb(192, 64, 43)
HSLhsl(8, 63%, 46%)
HSVhsv(8, 78%, 75%)
CMYKcmyk(0%, 66.7%, 77.6%, 24.7%)
CIE-LABlab(45.70, 50.11, 40.31)
CIE-LCHlch(45.70, 64.31, 38.82°)
OKLaboklab(55.11% 0.1424 0.0885)
OKLCHoklch(55.11% 0.168 31.9)
XYZxyz(24.0104, 15.0512, 3.9259)
Luminance0.1505 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0402B #2BABC0
analogous
#C02B61 #C0402B #C08A2B
triadic
#C0402B #2BC040 #402BC0
tetradic
#C0402B #61C02B #2BABC0 #8A2BC0
square
#C0402B #61C02B #2BABC0 #8A2BC0
split-complementary
#C0402B #2BC08A #2B61C0
monochromatic
#5C1F15 #8E2F20 #C0402B #D86350 #E39082

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0402B#FFFFFF#000000##FFFFFF
##C0402B1.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)
#655A28
Deuteranopia (green-blind)
#847726
Tritanopia (blue-blind)
#D3193C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c0402b;
/* rgb */ color: rgb(192, 64, 43);
/* oklch */ color: oklch(55.1% 0.168 31.9);
Tailwind
colors: {
  custom: {
    50: '#dc7c66',
    500: '#c0402b',
    950: '#000000',
  },
}
SCSS
$custom: #c0402b;
$custom-light: #dc7c66;
$custom-dark: #000000;
JSON
{
  "hex": "#c0402b",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 43
  },
  "hsl": {
    "h": 8.456,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55106,
    "c": 0.16769,
    "h": 31.9
  },
  "luminance": 0.15048
}

Semantic roles & 50–950 ramp

primary
#C0402B
secondary
#7BC1CC
accent
#CFE641
background
#FEF7F6
surface
#FDEEEB
border
#D5C9C6
text
#170A06
muted
#857C7A

Preview Lab

Preview with #C0402B

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

Preview Lab → · Contrast checker → · Palette generator →

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