#C42727#C42727

#C42727 is a mid, vivid red. Relative luminance 0.133; OKLCH L 53.4% C 0.193 H 26.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#C42727
RGBrgb(196, 39, 39)
HSLhsl(0, 67%, 46%)
HSVhsv(0, 80%, 77%)
CMYKcmyk(0%, 80.1%, 80.1%, 23.1%)
CIE-LABlab(43.27, 59.95, 40.23)
CIE-LCHlch(43.27, 72.20, 33.86°)
OKLaboklab(53.41% 0.172 0.0868)
OKLCHoklch(53.41% 0.193 26.8)
XYZxyz(23.8596, 13.3372, 3.2371)
Luminance0.1333 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42727 #27C4C4
analogous
#C42775 #C42727 #C47527
triadic
#C42727 #27C427 #2727C4
tetradic
#C42727 #75C427 #27C4C4 #7527C4
square
#C42727 #75C427 #27C4C4 #7527C4
split-complementary
#C42727 #27C475 #2775C4
monochromatic
#5E1313 #911D1D #C42727 #DC4D4D #E68080

Accessibility & contrast

On white

5.73
#C42727 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#C42727 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42727
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42727#FFFFFF#000000##FFFFFF
##C427271.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5025
Deuteranopia (green-blind)
#80721F
Tritanopia (blue-blind)
#D8002A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c42727;
/* rgb */ color: rgb(196, 39, 39);
/* oklch */ color: oklch(53.4% 0.193 26.8);
Tailwind
colors: {
  custom: {
    50: '#e07162',
    500: '#c42727',
    950: '#000000',
  },
}
SCSS
$custom: #c42727;
$custom-light: #e07162;
$custom-dark: #000000;
JSON
{
  "hex": "#c42727",
  "rgb": {
    "r": 196,
    "g": 39,
    "b": 39
  },
  "hsl": {
    "h": 0,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5341,
    "c": 0.19265,
    "h": 26.8
  },
  "luminance": 0.13333
}

Semantic roles & 50–950 ramp

primary
#C42727
secondary
#79CECE
accent
#EAEA3E
background
#FFF7F5
surface
#FEEDEA
border
#D6C8C6
text
#170905
muted
#857B79

Preview Lab

Preview with #C42727

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

Preview Lab → · Contrast checker → · Palette generator →

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