#C12E26#C12E26

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

Color values

HEX#C12E26
RGBrgb(193, 46, 38)
HSLhsl(3, 67%, 45%)
HSVhsv(3, 80%, 76%)
CMYKcmyk(0%, 76.2%, 80.3%, 24.3%)
CIE-LABlab(43.41, 56.94, 40.72)
CIE-LCHlch(43.41, 70.00, 35.57°)
OKLaboklab(53.41% 0.1627 0.0878)
OKLCHoklch(53.41% 0.185 28.4)
XYZxyz(23.3220, 13.4351, 3.1986)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12E26 #26B9C1
analogous
#C1266B #C12E26 #C17C26
triadic
#C12E26 #26C12E #2E26C1
tetradic
#C12E26 #6BC126 #26B9C1 #7C26C1
square
#C12E26 #6BC126 #26B9C1 #7C26C1
split-complementary
#C12E26 #26C17C #266BC1
monochromatic
#5B1612 #8E221C #C12E26 #DB5149 #E5827C

Accessibility & contrast

On white

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

On black

3.69
#C12E26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C12E26#FFFFFF#000000##FFFFFF
##C12E261.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5223
Deuteranopia (green-blind)
#80721F
Tritanopia (blue-blind)
#D5002E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #c12e26;
/* rgb */ color: rgb(193, 46, 38);
/* oklch */ color: oklch(53.4% 0.185 28.4);
Tailwind
colors: {
  custom: {
    50: '#dd7362',
    500: '#c12e26',
    950: '#000000',
  },
}
SCSS
$custom: #c12e26;
$custom-light: #dd7362;
$custom-dark: #000000;
JSON
{
  "hex": "#c12e26",
  "rgb": {
    "r": 193,
    "g": 46,
    "b": 38
  },
  "hsl": {
    "h": 3.097,
    "s": 67.1,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5341,
    "c": 0.18486,
    "h": 28.4
  },
  "luminance": 0.13431
}

Semantic roles & 50–950 ramp

primary
#C12E26
secondary
#75C9CD
accent
#E1EA3E
background
#FFF7F5
surface
#FEEDEA
border
#D6C8C6
text
#170905
muted
#857B79

Preview Lab

Preview with #C12E26

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

Preview Lab → · Contrast checker → · Palette generator →

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