#C02C2A#C02C2A

#C02C2A is a mid, vivid red. Relative luminance 0.132; OKLCH L 53.1% C 0.185 H 26.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#C02C2A
RGBrgb(192, 44, 42)
HSLhsl(1, 64%, 46%)
HSVhsv(1, 78%, 75%)
CMYKcmyk(0%, 77.1%, 78.1%, 24.7%)
CIE-LABlab(43.03, 57.40, 38.07)
CIE-LCHlch(43.03, 68.88, 33.55°)
OKLaboklab(53.11% 0.1651 0.0834)
OKLCHoklch(53.11% 0.185 26.8)
XYZxyz(23.0596, 13.1787, 3.5196)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02C2A #2ABEC0
analogous
#C02A73 #C02C2A #C0772A
triadic
#C02C2A #2AC02C #2C2AC0
tetradic
#C02C2A #73C02A #2ABEC0 #772AC0
square
#C02C2A #73C02A #2ABEC0 #772AC0
split-complementary
#C02C2A #2AC077 #2A73C0
monochromatic
#5C1514 #8E201F #C02C2A #D8514F #E38281

Accessibility & contrast

On white

5.78
#C02C2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#C02C2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02C2A
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02C2A#FFFFFF#000000##FFFFFF
##C02C2A1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5128
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#D4002E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c02c2a;
/* rgb */ color: rgb(192, 44, 42);
/* oklch */ color: oklch(53.1% 0.185 26.8);
Tailwind
colors: {
  custom: {
    50: '#dc7264',
    500: '#c02c2a',
    950: '#000000',
  },
}
SCSS
$custom: #c02c2a;
$custom-light: #dc7264;
$custom-dark: #000000;
JSON
{
  "hex": "#c02c2a",
  "rgb": {
    "r": 192,
    "g": 44,
    "b": 42
  },
  "hsl": {
    "h": 0.8,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53105,
    "c": 0.18491,
    "h": 26.8
  },
  "luminance": 0.13175
}

Semantic roles & 50–950 ramp

primary
#C02C2A
secondary
#7ACBCC
accent
#E5E741
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#170905
muted
#857B7A

Preview Lab

Preview with #C02C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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