#C12F21#C12F21

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

Color values

HEX#C12F21
RGBrgb(193, 47, 33)
HSLhsl(5, 71%, 44%)
HSVhsv(5, 83%, 76%)
CMYKcmyk(0%, 75.6%, 82.9%, 24.3%)
CIE-LABlab(43.48, 56.47, 43.42)
CIE-LCHlch(43.48, 71.23, 37.56°)
OKLaboklab(53.45% 0.1603 0.0919)
OKLCHoklch(53.45% 0.185 29.8)
XYZxyz(23.2862, 13.4840, 2.8151)
Luminance0.1348 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12F21 #21B3C1
analogous
#C12163 #C12F21 #C17F21
triadic
#C12F21 #21C12F #2F21C1
tetradic
#C12F21 #63C121 #21B3C1 #7F21C1
square
#C12F21 #63C121 #21B3C1 #7F21C1
split-complementary
#C12F21 #21C17F #2163C1
monochromatic
#58160F #8D2218 #C12F21 #DE4F41 #E77F75

Accessibility & contrast

On white

5.68
#C12F21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C12F21
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12F21#FFFFFF#000000##FFFFFF
##C12F211.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C521D
Deuteranopia (green-blind)
#807219
Tritanopia (blue-blind)
#D5002E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #c12f21;
/* rgb */ color: rgb(193, 47, 33);
/* oklch */ color: oklch(53.4% 0.185 29.8);
Tailwind
colors: {
  custom: {
    50: '#de735e',
    500: '#c12f21',
    950: '#000000',
  },
}
SCSS
$custom: #c12f21;
$custom-light: #de735e;
$custom-dark: #000000;
JSON
{
  "hex": "#c12f21",
  "rgb": {
    "r": 193,
    "g": 47,
    "b": 33
  },
  "hsl": {
    "h": 5.25,
    "s": 70.796,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53449,
    "c": 0.18475,
    "h": 29.8
  },
  "luminance": 0.1348
}

Semantic roles & 50–950 ramp

primary
#C12F21
secondary
#6FC6CF
accent
#DEEE3A
background
#FFF7F5
surface
#FEEDE9
border
#D6C8C5
text
#170904
muted
#857B79

Preview Lab

Preview with #C12F21

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

Preview Lab → · Contrast checker → · Palette generator →

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