#C02E2C#C02E2C

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

Color values

HEX#C02E2C
RGBrgb(192, 46, 44)
HSLhsl(1, 63%, 46%)
HSVhsv(1, 77%, 75%)
CMYKcmyk(0%, 76%, 77.1%, 24.7%)
CIE-LABlab(43.28, 56.84, 37.20)
CIE-LCHlch(43.28, 67.93, 33.21°)
OKLaboklab(53.3% 0.1637 0.0821)
OKLCHoklch(53.3% 0.183 26.6)
XYZxyz(23.1726, 13.3460, 3.7383)
Luminance0.1334 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02E2C #2CBEC0
analogous
#C02C74 #C02E2C #C0782C
triadic
#C02E2C #2CC02E #2E2CC0
tetradic
#C02E2C #74C02C #2CBEC0 #782CC0
square
#C02E2C #74C02C #2CBEC0 #782CC0
split-complementary
#C02E2C #2CC078 #2C74C0
monochromatic
#5C1615 #8E2221 #C02E2C #D75452 #E38584

Accessibility & contrast

On white

5.72
#C02E2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C02E2C
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02E2C#FFFFFF#000000##FFFFFF
##C02E2C1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B522A
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#D40030
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c02e2c;
/* rgb */ color: rgb(192, 46, 44);
/* oklch */ color: oklch(53.3% 0.183 26.6);
Tailwind
colors: {
  custom: {
    50: '#dc7366',
    500: '#c02e2c',
    950: '#000000',
  },
}
SCSS
$custom: #c02e2c;
$custom-light: #dc7366;
$custom-dark: #000000;
JSON
{
  "hex": "#c02e2c",
  "rgb": {
    "r": 192,
    "g": 46,
    "b": 44
  },
  "hsl": {
    "h": 0.811,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53297,
    "c": 0.18312,
    "h": 26.6
  },
  "luminance": 0.13342
}

Semantic roles & 50–950 ramp

primary
#C02E2C
secondary
#7CCBCC
accent
#E4E642
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#170906
muted
#857B7A

Preview Lab

Preview with #C02E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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