#C12D2C#C12D2C

#C12D2C is a mid, vivid red. Relative luminance 0.134; OKLCH L 53.4% C 0.185 H 26.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#C12D2C
RGBrgb(193, 45, 44)
HSLhsl(0, 63%, 46%)
HSVhsv(0, 77%, 76%)
CMYKcmyk(0%, 76.7%, 77.2%, 24.3%)
CIE-LABlab(43.36, 57.46, 37.35)
CIE-LCHlch(43.36, 68.53, 33.02°)
OKLaboklab(53.39% 0.1655 0.0823)
OKLCHoklch(53.39% 0.185 26.4)
XYZxyz(23.3881, 13.3998, 3.7373)
Luminance0.1340 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12D2C #2CC0C1
analogous
#C12C76 #C12D2C #C1782C
triadic
#C12D2C #2CC12D #2D2CC1
tetradic
#C12D2C #76C12C #2CC0C1 #782CC1
square
#C12D2C #76C12C #2CC0C1 #782CC1
split-complementary
#C12D2C #2CC178 #2C76C1
monochromatic
#5D1615 #8F2121 #C12D2C #D85353 #E38584

Accessibility & contrast

On white

5.71
#C12D2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#C12D2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12D2C
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12D2C#FFFFFF#000000##FFFFFF
##C12D2C1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B522A
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#D5002F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c12d2c;
/* rgb */ color: rgb(193, 45, 44);
/* oklch */ color: oklch(53.4% 0.185 26.4);
Tailwind
colors: {
  custom: {
    50: '#dd7366',
    500: '#c12d2c',
    950: '#000000',
  },
}
SCSS
$custom: #c12d2c;
$custom-light: #dd7366;
$custom-dark: #000000;
JSON
{
  "hex": "#c12d2c",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 44
  },
  "hsl": {
    "h": 0.403,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5339,
    "c": 0.18487,
    "h": 26.4
  },
  "luminance": 0.13396
}

Semantic roles & 50–950 ramp

primary
#C12D2C
secondary
#7DCCCC
accent
#E5E642
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#170906
muted
#857B7A

Preview Lab

Preview with #C12D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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