#C02D2F#C02D2F

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

Color values

HEX#C02D2F
RGBrgb(192, 45, 47)
HSLhsl(359, 62%, 46%)
HSVhsv(359, 77%, 75%)
CMYKcmyk(0%, 76.6%, 75.5%, 24.7%)
CIE-LABlab(43.20, 57.27, 35.40)
CIE-LCHlch(43.20, 67.33, 31.72°)
OKLaboklab(53.25% 0.1657 0.0789)
OKLCHoklch(53.25% 0.184 25.5)
XYZxyz(23.1924, 13.2921, 4.0332)
Luminance0.1329 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02D2F #2DC0BE
analogous
#C02D79 #C02D2F #C0752D
triadic
#C02D2F #2FC02D #2D2FC0
tetradic
#C02D2F #79C02D #2DC0BE #752DC0
square
#C02D2F #79C02D #2DC0BE #752DC0
split-complementary
#C02D2F #2DC075 #2D79C0
monochromatic
#5D1617 #8E2123 #C02D2F #D75355 #E28586

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C02D2F#FFFFFF#000000##FFFFFF
##C02D2F1.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)
#5A522D
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#D30030
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c02d2f;
/* rgb */ color: rgb(192, 45, 47);
/* oklch */ color: oklch(53.2% 0.184 25.5);
Tailwind
colors: {
  custom: {
    50: '#dc7368',
    500: '#c02d2f',
    950: '#000000',
  },
}
SCSS
$custom: #c02d2f;
$custom-light: #dc7368;
$custom-dark: #000000;
JSON
{
  "hex": "#c02d2f",
  "rgb": {
    "r": 192,
    "g": 45,
    "b": 47
  },
  "hsl": {
    "h": 359.184,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53248,
    "c": 0.18354,
    "h": 25.5
  },
  "luminance": 0.13288
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C02D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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