#C42731#C42731

#C42731 is a mid, vivid red. Relative luminance 0.134; OKLCH L 53.5% C 0.192 H 23.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#C42731
RGBrgb(196, 39, 49)
HSLhsl(356, 67%, 46%)
HSVhsv(356, 80%, 77%)
CMYKcmyk(0%, 80.1%, 75%, 23.1%)
CIE-LABlab(43.38, 60.30, 34.65)
CIE-LCHlch(43.38, 69.55, 29.88°)
OKLaboklab(53.53% 0.1752 0.0775)
OKLCHoklch(53.53% 0.192 23.9)
XYZxyz(24.0477, 13.4124, 4.2278)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42731 #27C4BA
analogous
#C4277F #C42731 #C46B27
triadic
#C42731 #31C427 #2731C4
tetradic
#C42731 #7FC427 #27C4BA #6B27C4
square
#C42731 #7FC427 #27C4BA #6B27C4
split-complementary
#C42731 #27C46B #277FC4
monochromatic
#5E1317 #911D24 #C42731 #DC4D56 #E68086

Accessibility & contrast

On white

5.70
#C42731 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#C42731 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42731
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42731#FFFFFF#000000##FFFFFF
##C427311.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c42731;
/* rgb */ color: rgb(196, 39, 49);
/* oklch */ color: oklch(53.5% 0.192 23.9);
Tailwind
colors: {
  custom: {
    50: '#df7169',
    500: '#c42731',
    950: '#000000',
  },
}
SCSS
$custom: #c42731;
$custom-light: #df7169;
$custom-dark: #000000;
JSON
{
  "hex": "#c42731",
  "rgb": {
    "r": 196,
    "g": 39,
    "b": 49
  },
  "hsl": {
    "h": 356.178,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53528,
    "c": 0.19162,
    "h": 23.9
  },
  "luminance": 0.13409
}

Semantic roles & 50–950 ramp

primary
#C42731
secondary
#79CEC9
accent
#EADF3E
background
#FFF7F6
surface
#FEEDEB
border
#D6C8C6
text
#170906
muted
#857B7A

Preview Lab

Preview with #C42731

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

Preview Lab → · Contrast checker → · Palette generator →

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