#C02D2E#C02D2E

#C02D2E is a mid, vivid red. Relative luminance 0.133; OKLCH L 53.2% C 0.184 H 25.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#C02D2E
RGBrgb(192, 45, 46)
HSLhsl(360, 62%, 46%)
HSVhsv(360, 77%, 75%)
CMYKcmyk(0%, 76.6%, 76%, 24.7%)
CIE-LABlab(43.19, 57.23, 35.96)
CIE-LCHlch(43.19, 67.59, 32.14°)
OKLaboklab(53.24% 0.1654 0.0799)
OKLCHoklch(53.24% 0.184 25.8)
XYZxyz(23.1725, 13.2841, 3.9282)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02D2E #2DC0BF
analogous
#C02D78 #C02D2E #C0762D
triadic
#C02D2E #2EC02D #2D2EC0
tetradic
#C02D2E #78C02D #2DC0BF #762DC0
square
#C02D2E #78C02D #2DC0BF #762DC0
split-complementary
#C02D2E #2DC076 #2D78C0
monochromatic
#5D1616 #8E2122 #C02D2E #D75354 #E28586

Accessibility & contrast

On white

5.74
#C02D2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#C02D2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02D2E
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02D2E#FFFFFF#000000##FFFFFF
##C02D2E1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c02d2e;
/* rgb */ color: rgb(192, 45, 46);
/* oklch */ color: oklch(53.2% 0.184 25.8);
Tailwind
colors: {
  custom: {
    50: '#dc7367',
    500: '#c02d2e',
    950: '#000000',
  },
}
SCSS
$custom: #c02d2e;
$custom-light: #dc7367;
$custom-dark: #000000;
JSON
{
  "hex": "#c02d2e",
  "rgb": {
    "r": 192,
    "g": 45,
    "b": 46
  },
  "hsl": {
    "h": 359.592,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53236,
    "c": 0.18366,
    "h": 25.8
  },
  "luminance": 0.1328
}

Semantic roles & 50–950 ramp

primary
#C02D2E
secondary
#7DCCCB
accent
#E5E443
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#170906
muted
#857B7A

Preview Lab

Preview with #C02D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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