#C12B26#C12B26

#C12B26 is a mid, vivid red. Relative luminance 0.132; OKLCH L 53.2% C 0.187 H 27.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#C12B26
RGBrgb(193, 43, 38)
HSLhsl(2, 67%, 45%)
HSVhsv(2, 80%, 76%)
CMYKcmyk(0%, 77.7%, 80.3%, 24.3%)
CIE-LABlab(43.08, 57.88, 40.39)
CIE-LCHlch(43.08, 70.58, 34.91°)
OKLaboklab(53.16% 0.1656 0.0871)
OKLCHoklch(53.16% 0.187 27.7)
XYZxyz(23.2089, 13.2089, 3.1609)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12B26 #26BCC1
analogous
#C1266F #C12B26 #C17826
triadic
#C12B26 #26C12B #2B26C1
tetradic
#C12B26 #6FC126 #26BCC1 #7826C1
square
#C12B26 #6FC126 #26BCC1 #7826C1
split-complementary
#C12B26 #26C178 #266FC1
monochromatic
#5B1412 #8E201C #C12B26 #DB4E49 #E5807C

Accessibility & contrast

On white

5.77
#C12B26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#C12B26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12B26
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12B26#FFFFFF#000000##FFFFFF
##C12B261.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5123
Deuteranopia (green-blind)
#7F711F
Tritanopia (blue-blind)
#D5002C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c12b26;
/* rgb */ color: rgb(193, 43, 38);
/* oklch */ color: oklch(53.2% 0.187 27.7);
Tailwind
colors: {
  custom: {
    50: '#dd7262',
    500: '#c12b26',
    950: '#000000',
  },
}
SCSS
$custom: #c12b26;
$custom-light: #dd7262;
$custom-dark: #000000;
JSON
{
  "hex": "#c12b26",
  "rgb": {
    "r": 193,
    "g": 43,
    "b": 38
  },
  "hsl": {
    "h": 1.935,
    "s": 67.1,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5316,
    "c": 0.18711,
    "h": 27.7
  },
  "luminance": 0.13205
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C12B26

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

Preview Lab → · Contrast checker → · Palette generator →

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