#C02D2D#C02D2D

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

Color values

HEX#C02D2D
RGBrgb(192, 45, 45)
HSLhsl(0, 62%, 46%)
HSVhsv(0, 77%, 75%)
CMYKcmyk(0%, 76.6%, 76.6%, 24.7%)
CIE-LABlab(43.18, 57.19, 36.52)
CIE-LCHlch(43.18, 67.86, 32.56°)
OKLaboklab(53.22% 0.165 0.0809)
OKLCHoklch(53.22% 0.184 26.1)
XYZxyz(23.1530, 13.2764, 3.8256)
Luminance0.1327 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02D2D #2DC0C0
analogous
#C02D77 #C02D2D #C0772D
triadic
#C02D2D #2DC02D #2D2DC0
tetradic
#C02D2D #77C02D #2DC0C0 #772DC0
square
#C02D2D #77C02D #2DC0C0 #772DC0
split-complementary
#C02D2D #2DC077 #2D77C0
monochromatic
#5D1616 #8E2121 #C02D2D #D75353 #E28585

Accessibility & contrast

On white

5.75
#C02D2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#C02D2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02D2D
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02D2D#FFFFFF#000000##FFFFFF
##C02D2D1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c02d2d;
/* rgb */ color: rgb(192, 45, 45);
/* oklch */ color: oklch(53.2% 0.184 26.1);
Tailwind
colors: {
  custom: {
    50: '#dc7366',
    500: '#c02d2d',
    950: '#000000',
  },
}
SCSS
$custom: #c02d2d;
$custom-light: #dc7366;
$custom-dark: #000000;
JSON
{
  "hex": "#c02d2d",
  "rgb": {
    "r": 192,
    "g": 45,
    "b": 45
  },
  "hsl": {
    "h": 0,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53223,
    "c": 0.18377,
    "h": 26.1
  },
  "luminance": 0.13273
}

Semantic roles & 50–950 ramp

primary
#C02D2D
secondary
#7DCCCC
accent
#E5E543
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#170906
muted
#857B7A

Preview Lab

Preview with #C02D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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