#C0402A#C0402A

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

Color values

HEX#C0402A
RGBrgb(192, 64, 42)
HSLhsl(9, 64%, 46%)
HSVhsv(9, 78%, 75%)
CMYKcmyk(0%, 66.7%, 78.1%, 24.7%)
CIE-LABlab(45.69, 50.07, 40.84)
CIE-LCHlch(45.69, 64.61, 39.20°)
OKLaboklab(55.1% 0.1421 0.0894)
OKLCHoklch(55.1% 0.168 32.2)
XYZxyz(23.9922, 15.0440, 3.8305)
Luminance0.1504 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0402A #2AAAC0
analogous
#C02A5F #C0402A #C08B2A
triadic
#C0402A #2AC040 #402AC0
tetradic
#C0402A #5FC02A #2AAAC0 #8B2AC0
square
#C0402A #5FC02A #2AAAC0 #8B2AC0
split-complementary
#C0402A #2AC08B #2A5FC0
monochromatic
#5C1F14 #8E2F1F #C0402A #D8634F #E38F81

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0402A#FFFFFF#000000##FFFFFF
##C0402A1.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)
#655A27
Deuteranopia (green-blind)
#847725
Tritanopia (blue-blind)
#D3193C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c0402a;
/* rgb */ color: rgb(192, 64, 42);
/* oklch */ color: oklch(55.1% 0.168 32.2);
Tailwind
colors: {
  custom: {
    50: '#dc7c65',
    500: '#c0402a',
    950: '#000000',
  },
}
SCSS
$custom: #c0402a;
$custom-light: #dc7c65;
$custom-dark: #000000;
JSON
{
  "hex": "#c0402a",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 42
  },
  "hsl": {
    "h": 8.8,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.55095,
    "c": 0.16788,
    "h": 32.2
  },
  "luminance": 0.1504
}

Semantic roles & 50–950 ramp

primary
#C0402A
secondary
#7AC0CC
accent
#CFE741
background
#FEF7F6
surface
#FDEEEB
border
#D5C9C6
text
#170A06
muted
#857C7A

Preview Lab

Preview with #C0402A

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

Preview Lab → · Contrast checker → · Palette generator →

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