#C12F26#C12F26

#C12F26 is a mid, vivid red. Relative luminance 0.135; OKLCH L 53.5% C 0.184 H 28.6°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#C12F26
RGBrgb(193, 47, 38)
HSLhsl(3, 67%, 45%)
HSVhsv(3, 80%, 76%)
CMYKcmyk(0%, 75.6%, 80.3%, 24.3%)
CIE-LABlab(43.53, 56.62, 40.84)
CIE-LCHlch(43.53, 69.81, 35.80°)
OKLaboklab(53.5% 0.1617 0.0881)
OKLCHoklch(53.5% 0.184 28.6)
XYZxyz(23.3615, 13.5141, 3.2118)
Luminance0.1351 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12F26 #26B8C1
analogous
#C1266A #C12F26 #C17D26
triadic
#C12F26 #26C12F #2F26C1
tetradic
#C12F26 #6AC126 #26B8C1 #7D26C1
square
#C12F26 #6AC126 #26B8C1 #7D26C1
split-complementary
#C12F26 #26C17D #266AC1
monochromatic
#5B1612 #8E231C #C12F26 #DB5249 #E5827C

Accessibility & contrast

On white

5.67
#C12F26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#C12F26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12F26
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12F26#FFFFFF#000000##FFFFFF
##C12F261.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c12f26;
/* rgb */ color: rgb(193, 47, 38);
/* oklch */ color: oklch(53.5% 0.184 28.6);
Tailwind
colors: {
  custom: {
    50: '#dd7362',
    500: '#c12f26',
    950: '#000000',
  },
}
SCSS
$custom: #c12f26;
$custom-light: #dd7362;
$custom-dark: #000000;
JSON
{
  "hex": "#c12f26",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 38
  },
  "hsl": {
    "h": 3.484,
    "s": 67.1,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53496,
    "c": 0.18408,
    "h": 28.6
  },
  "luminance": 0.1351
}

Semantic roles & 50–950 ramp

primary
#C12F26
secondary
#75C8CD
accent
#E0EA3E
background
#FFF7F5
surface
#FEEDEA
border
#D6C8C6
text
#170905
muted
#857B79

Preview Lab

Preview with #C12F26

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

Preview Lab → · Contrast checker → · Palette generator →

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