#C02B31#C02B31

#C02B31 is a mid, vivid red. Relative luminance 0.132; OKLCH L 53.1% C 0.185 H 24.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#C02B31
RGBrgb(192, 43, 49)
HSLhsl(358, 63%, 46%)
HSVhsv(358, 78%, 75%)
CMYKcmyk(0%, 77.6%, 74.5%, 24.7%)
CIE-LABlab(43.00, 57.97, 34.01)
CIE-LCHlch(43.00, 67.21, 30.40°)
OKLaboklab(53.11% 0.1684 0.0764)
OKLCHoklch(53.11% 0.185 24.4)
XYZxyz(23.1592, 13.1596, 4.2258)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02B31 #2BC0BA
analogous
#C02B7B #C02B31 #C06F2B
triadic
#C02B31 #31C02B #2B31C0
tetradic
#C02B31 #7BC02B #2BC0BA #6F2BC0
square
#C02B31 #7BC02B #2BC0BA #6F2BC0
split-complementary
#C02B31 #2BC06F #2B7BC0
monochromatic
#5C1517 #8E2024 #C02B31 #D85056 #E38286

Accessibility & contrast

On white

5.78
#C02B31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#C02B31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02B31
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02B31#FFFFFF#000000##FFFFFF
##C02B311.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595130
Deuteranopia (green-blind)
#7E712B
Tritanopia (blue-blind)
#D3002F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c02b31;
/* rgb */ color: rgb(192, 43, 49);
/* oklch */ color: oklch(53.1% 0.185 24.4);
Tailwind
colors: {
  custom: {
    50: '#dc7269',
    500: '#c02b31',
    950: '#000000',
  },
}
SCSS
$custom: #c02b31;
$custom-light: #dc7269;
$custom-dark: #000000;
JSON
{
  "hex": "#c02b31",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 49
  },
  "hsl": {
    "h": 357.584,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53109,
    "c": 0.18488,
    "h": 24.4
  },
  "luminance": 0.13156
}

Semantic roles & 50–950 ramp

primary
#C02B31
secondary
#7BCCC9
accent
#E6E041
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#170906
muted
#857B7A

Preview Lab

Preview with #C02B31

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

Preview Lab → · Contrast checker → · Palette generator →

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