#C12726#C12726

#C12726 is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.9% C 0.190 H 27.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#C12726
RGBrgb(193, 39, 38)
HSLhsl(0, 67%, 45%)
HSVhsv(0, 80%, 76%)
CMYKcmyk(0%, 79.8%, 80.3%, 24.3%)
CIE-LABlab(42.66, 59.05, 39.97)
CIE-LCHlch(42.66, 71.30, 34.10°)
OKLaboklab(52.85% 0.1693 0.0862)
OKLCHoklch(52.85% 0.19 27)
XYZxyz(23.0705, 12.9322, 3.1148)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12726 #26C0C1
analogous
#C12672 #C12726 #C17426
triadic
#C12726 #26C127 #2726C1
tetradic
#C12726 #72C126 #26C0C1 #7426C1
square
#C12726 #72C126 #26C0C1 #7426C1
split-complementary
#C12726 #26C174 #2672C1
monochromatic
#5B1212 #8E1D1C #C12726 #DB4A49 #E57D7C

Accessibility & contrast

On white

5.86
#C12726 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#C12726 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12726
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12726#FFFFFF#000000##FFFFFF
##C127261.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584F24
Deuteranopia (green-blind)
#7E711F
Tritanopia (blue-blind)
#D50029
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #c12726;
/* rgb */ color: rgb(193, 39, 38);
/* oklch */ color: oklch(52.9% 0.190 27.0);
Tailwind
colors: {
  custom: {
    50: '#de7061',
    500: '#c12726',
    950: '#000000',
  },
}
SCSS
$custom: #c12726;
$custom-light: #de7061;
$custom-dark: #000000;
JSON
{
  "hex": "#c12726",
  "rgb": {
    "r": 193,
    "g": 39,
    "b": 38
  },
  "hsl": {
    "h": 0.387,
    "s": 67.1,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52851,
    "c": 0.18996,
    "h": 27
  },
  "luminance": 0.12928
}

Semantic roles & 50–950 ramp

primary
#C12726
secondary
#75CDCD
accent
#E9EA3E
background
#FFF7F5
surface
#FEEDEA
border
#D6C8C6
text
#170805
muted
#857B79

Preview Lab

Preview with #C12726

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

Preview Lab → · Contrast checker → · Palette generator →

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