#C02E2B#C02E2B

#C02E2B is a mid, vivid red. Relative luminance 0.133; OKLCH L 53.3% C 0.183 H 26.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#C02E2B
RGBrgb(192, 46, 43)
HSLhsl(1, 63%, 46%)
HSVhsv(1, 78%, 75%)
CMYKcmyk(0%, 76%, 77.6%, 24.7%)
CIE-LABlab(43.27, 56.80, 37.76)
CIE-LCHlch(43.27, 68.21, 33.61°)
OKLaboklab(53.29% 0.1634 0.083)
OKLCHoklch(53.29% 0.183 26.9)
XYZxyz(23.1540, 13.3385, 3.6405)
Luminance0.1333 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02E2B #2BBDC0
analogous
#C02B72 #C02E2B #C0782B
triadic
#C02E2B #2BC02E #2E2BC0
tetradic
#C02E2B #72C02B #2BBDC0 #782BC0
square
#C02E2B #72C02B #2BBDC0 #782BC0
split-complementary
#C02E2B #2BC078 #2B72C0
monochromatic
#5C1615 #8E2220 #C02E2B #D85350 #E38482

Accessibility & contrast

On white

5.73
#C02E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#C02E2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02E2B
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02E2B#FFFFFF#000000##FFFFFF
##C02E2B1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5229
Deuteranopia (green-blind)
#7F7225
Tritanopia (blue-blind)
#D4002F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c02e2b;
/* rgb */ color: rgb(192, 46, 43);
/* oklch */ color: oklch(53.3% 0.183 26.9);
Tailwind
colors: {
  custom: {
    50: '#dc7365',
    500: '#c02e2b',
    950: '#000000',
  },
}
SCSS
$custom: #c02e2b;
$custom-light: #dc7365;
$custom-dark: #000000;
JSON
{
  "hex": "#c02e2b",
  "rgb": {
    "r": 192,
    "g": 46,
    "b": 43
  },
  "hsl": {
    "h": 1.208,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53285,
    "c": 0.18324,
    "h": 26.9
  },
  "luminance": 0.13335
}

Semantic roles & 50–950 ramp

primary
#C02E2B
secondary
#7BCACC
accent
#E3E641
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#170905
muted
#857B7A

Preview Lab

Preview with #C02E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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