#C12D26#C12D26

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

Color values

HEX#C12D26
RGBrgb(193, 45, 38)
HSLhsl(3, 67%, 45%)
HSVhsv(3, 80%, 76%)
CMYKcmyk(0%, 76.7%, 80.3%, 24.3%)
CIE-LABlab(43.30, 57.26, 40.61)
CIE-LCHlch(43.30, 70.20, 35.35°)
OKLaboklab(53.33% 0.1637 0.0876)
OKLCHoklch(53.33% 0.186 28.1)
XYZxyz(23.2834, 13.3579, 3.1857)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12D26 #26BAC1
analogous
#C1266C #C12D26 #C17B26
triadic
#C12D26 #26C12D #2D26C1
tetradic
#C12D26 #6CC126 #26BAC1 #7B26C1
square
#C12D26 #6CC126 #26BAC1 #7B26C1
split-complementary
#C12D26 #26C17B #266CC1
monochromatic
#5B1512 #8E211C #C12D26 #DB5049 #E5817C

Accessibility & contrast

On white

5.72
#C12D26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#C12D26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12D26
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12D26#FFFFFF#000000##FFFFFF
##C12D261.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5223
Deuteranopia (green-blind)
#80721F
Tritanopia (blue-blind)
#D5002D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c12d26;
/* rgb */ color: rgb(193, 45, 38);
/* oklch */ color: oklch(53.3% 0.186 28.1);
Tailwind
colors: {
  custom: {
    50: '#dd7362',
    500: '#c12d26',
    950: '#000000',
  },
}
SCSS
$custom: #c12d26;
$custom-light: #dd7362;
$custom-dark: #000000;
JSON
{
  "hex": "#c12d26",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 38
  },
  "hsl": {
    "h": 2.71,
    "s": 67.1,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53325,
    "c": 0.18562,
    "h": 28.1
  },
  "luminance": 0.13354
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C12D26

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

Preview Lab → · Contrast checker → · Palette generator →

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