#C12C27#C12C27

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

Color values

HEX#C12C27
RGBrgb(193, 44, 39)
HSLhsl(2, 66%, 45%)
HSVhsv(2, 80%, 76%)
CMYKcmyk(0%, 77.2%, 79.8%, 24.3%)
CIE-LABlab(43.20, 57.60, 39.96)
CIE-LCHlch(43.20, 70.11, 34.75°)
OKLaboklab(53.25% 0.165 0.0865)
OKLCHoklch(53.25% 0.186 27.7)
XYZxyz(23.2620, 13.2890, 3.2593)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12C27 #27BCC1
analogous
#C1276F #C12C27 #C17927
triadic
#C12C27 #27C12C #2C27C1
tetradic
#C12C27 #6FC127 #27BCC1 #7927C1
square
#C12C27 #6FC127 #27BCC1 #7927C1
split-complementary
#C12C27 #27C179 #276FC1
monochromatic
#5B1512 #8E201D #C12C27 #DB4F4B #E5817E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C12C27#FFFFFF#000000##FFFFFF
##C12C271.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)
#5B5124
Deuteranopia (green-blind)
#7F7220
Tritanopia (blue-blind)
#D5002D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c12c27;
/* rgb */ color: rgb(193, 44, 39);
/* oklch */ color: oklch(53.3% 0.186 27.7);
Tailwind
colors: {
  custom: {
    50: '#dd7262',
    500: '#c12c27',
    950: '#000000',
  },
}
SCSS
$custom: #c12c27;
$custom-light: #dd7262;
$custom-dark: #000000;
JSON
{
  "hex": "#c12c27",
  "rgb": {
    "r": 193,
    "g": 44,
    "b": 39
  },
  "hsl": {
    "h": 1.948,
    "s": 66.379,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53252,
    "c": 0.18625,
    "h": 27.7
  },
  "luminance": 0.13285
}

Semantic roles & 50–950 ramp

primary
#C12C27
secondary
#77CACD
accent
#E4E93E
background
#FFF7F5
surface
#FEEDEA
border
#D6C8C6
text
#170905
muted
#857B79

Preview Lab

Preview with #C12C27

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

Preview Lab → · Contrast checker → · Palette generator →

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