#C12A26#C12A26

#C12A26 is a mid, vivid red. Relative luminance 0.131; OKLCH L 53.1% C 0.188 H 27.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#C12A26
RGBrgb(193, 42, 38)
HSLhsl(2, 67%, 45%)
HSVhsv(2, 80%, 76%)
CMYKcmyk(0%, 78.2%, 80.3%, 24.3%)
CIE-LABlab(42.97, 58.18, 40.28)
CIE-LCHlch(42.97, 70.76, 34.70°)
OKLaboklab(53.08% 0.1666 0.0868)
OKLCHoklch(53.08% 0.188 27.5)
XYZxyz(23.1730, 13.1371, 3.1489)
Luminance0.1313 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12A26 #26BDC1
analogous
#C12670 #C12A26 #C17726
triadic
#C12A26 #26C12A #2A26C1
tetradic
#C12A26 #70C126 #26BDC1 #7726C1
square
#C12A26 #70C126 #26BDC1 #7726C1
split-complementary
#C12A26 #26C177 #2670C1
monochromatic
#5B1412 #8E1F1C #C12A26 #DB4D49 #E57F7C

Accessibility & contrast

On white

5.79
#C12A26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C12A26
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12A26#FFFFFF#000000##FFFFFF
##C12A261.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5023
Deuteranopia (green-blind)
#7F711F
Tritanopia (blue-blind)
#D5002B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #c12a26;
/* rgb */ color: rgb(193, 42, 38);
/* oklch */ color: oklch(53.1% 0.188 27.5);
Tailwind
colors: {
  custom: {
    50: '#dd7161',
    500: '#c12a26',
    950: '#000000',
  },
}
SCSS
$custom: #c12a26;
$custom-light: #dd7161;
$custom-dark: #000000;
JSON
{
  "hex": "#c12a26",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 38
  },
  "hsl": {
    "h": 1.548,
    "s": 67.1,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5308,
    "c": 0.18784,
    "h": 27.5
  },
  "luminance": 0.13133
}

Semantic roles & 50–950 ramp

primary
#C12A26
secondary
#75CBCD
accent
#E6EA3E
background
#FFF7F5
surface
#FEEDEA
border
#D6C8C6
text
#170905
muted
#857B79

Preview Lab

Preview with #C12A26

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

Preview Lab → · Contrast checker → · Palette generator →

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