#C12A27#C12A27

#C12A27 is a mid, vivid red. Relative luminance 0.131; OKLCH L 53.1% C 0.188 H 27.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#C12A27
RGBrgb(193, 42, 39)
HSLhsl(1, 66%, 45%)
HSVhsv(1, 80%, 76%)
CMYKcmyk(0%, 78.2%, 79.8%, 24.3%)
CIE-LABlab(42.98, 58.21, 39.74)
CIE-LCHlch(42.98, 70.48, 34.32°)
OKLaboklab(53.09% 0.1669 0.086)
OKLCHoklch(53.09% 0.188 27.3)
XYZxyz(23.1893, 13.1436, 3.2350)
Luminance0.1314 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12A27 #27BEC1
analogous
#C12771 #C12A27 #C17727
triadic
#C12A27 #27C12A #2A27C1
tetradic
#C12A27 #71C127 #27BEC1 #7727C1
square
#C12A27 #71C127 #27BEC1 #7727C1
split-complementary
#C12A27 #27C177 #2771C1
monochromatic
#5B1412 #8E1F1D #C12A27 #DB4D4B #E5807E

Accessibility & contrast

On white

5.79
#C12A27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#C12A27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12A27
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12A27#FFFFFF#000000##FFFFFF
##C12A271.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5125
Deuteranopia (green-blind)
#7F7120
Tritanopia (blue-blind)
#D5002C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #c12a27;
/* rgb */ color: rgb(193, 42, 39);
/* oklch */ color: oklch(53.1% 0.188 27.3);
Tailwind
colors: {
  custom: {
    50: '#dd7162',
    500: '#c12a27',
    950: '#000000',
  },
}
SCSS
$custom: #c12a27;
$custom-light: #dd7162;
$custom-dark: #000000;
JSON
{
  "hex": "#c12a27",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 39
  },
  "hsl": {
    "h": 1.169,
    "s": 66.379,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53091,
    "c": 0.18772,
    "h": 27.3
  },
  "luminance": 0.1314
}

Semantic roles & 50–950 ramp

primary
#C12A27
secondary
#77CBCD
accent
#E6E93E
background
#FFF7F5
surface
#FEEDEA
border
#D6C8C6
text
#170905
muted
#857B79

Preview Lab

Preview with #C12A27

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

Preview Lab → · Contrast checker → · Palette generator →

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