#C12F2F#C12F2F

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

Color values

HEX#C12F2F
RGBrgb(193, 47, 47)
HSLhsl(0, 61%, 47%)
HSVhsv(0, 76%, 76%)
CMYKcmyk(0%, 75.6%, 75.6%, 24.3%)
CIE-LABlab(43.62, 56.93, 35.92)
CIE-LCHlch(43.62, 67.32, 32.25°)
OKLaboklab(53.6% 0.1645 0.08)
OKLCHoklch(53.6% 0.183 25.9)
XYZxyz(23.5247, 13.5794, 4.0712)
Luminance0.1358 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12F2F #2FC1C1
analogous
#C12F78 #C12F2F #C1782F
triadic
#C12F2F #2FC12F #2F2FC1
tetradic
#C12F2F #78C12F #2FC1C1 #782FC1
square
#C12F2F #78C12F #2FC1C1 #782FC1
split-complementary
#C12F2F #2FC178 #2F78C1
monochromatic
#5F1717 #902323 #C12F2F #D65757 #E28888

Accessibility & contrast

On white

5.65
#C12F2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#C12F2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12F2F
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12F2F#FFFFFF#000000##FFFFFF
##C12F2F1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B532D
Deuteranopia (green-blind)
#7F7229
Tritanopia (blue-blind)
#D50031
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #c12f2f;
/* rgb */ color: rgb(193, 47, 47);
/* oklch */ color: oklch(53.6% 0.183 25.9);
Tailwind
colors: {
  custom: {
    50: '#dd7468',
    500: '#c12f2f',
    950: '#000000',
  },
}
SCSS
$custom: #c12f2f;
$custom-light: #dd7468;
$custom-dark: #000000;
JSON
{
  "hex": "#c12f2f",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 47
  },
  "hsl": {
    "h": 0,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53598,
    "c": 0.18292,
    "h": 25.9
  },
  "luminance": 0.13576
}

Semantic roles & 50–950 ramp

primary
#C12F2F
secondary
#80CCCC
accent
#E4E444
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#170906
muted
#857B7A

Preview Lab

Preview with #C12F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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