#C12F2C#C12F2C

#C12F2C is a mid, vivid red. Relative luminance 0.136; OKLCH L 53.6% C 0.183 H 26.9°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#C12F2C
RGBrgb(193, 47, 44)
HSLhsl(1, 63%, 46%)
HSVhsv(1, 77%, 76%)
CMYKcmyk(0%, 75.6%, 77.2%, 24.3%)
CIE-LABlab(43.59, 56.82, 37.59)
CIE-LCHlch(43.59, 68.13, 33.49°)
OKLaboklab(53.56% 0.1635 0.0828)
OKLCHoklch(53.56% 0.183 26.9)
XYZxyz(23.4662, 13.5560, 3.7634)
Luminance0.1355 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12F2C #2CBEC1
analogous
#C12C74 #C12F2C #C17A2C
triadic
#C12F2C #2CC12F #2F2CC1
tetradic
#C12F2C #74C12C #2CBEC1 #7A2CC1
square
#C12F2C #74C12C #2CBEC1 #7A2CC1
split-complementary
#C12F2C #2CC17A #2C74C1
monochromatic
#5D1715 #8F2321 #C12F2C #D85553 #E38684

Accessibility & contrast

On white

5.66
#C12F2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#C12F2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12F2C
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12F2C#FFFFFF#000000##FFFFFF
##C12F2C1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C532A
Deuteranopia (green-blind)
#807226
Tritanopia (blue-blind)
#D50030
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #c12f2c;
/* rgb */ color: rgb(193, 47, 44);
/* oklch */ color: oklch(53.6% 0.183 26.9);
Tailwind
colors: {
  custom: {
    50: '#dd7366',
    500: '#c12f2c',
    950: '#000000',
  },
}
SCSS
$custom: #c12f2c;
$custom-light: #dd7366;
$custom-dark: #000000;
JSON
{
  "hex": "#c12f2c",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 44
  },
  "hsl": {
    "h": 1.208,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53562,
    "c": 0.18329,
    "h": 26.9
  },
  "luminance": 0.13552
}

Semantic roles & 50–950 ramp

primary
#C12F2C
secondary
#7DCBCC
accent
#E3E642
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#170906
muted
#857B7A

Preview Lab

Preview with #C12F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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