#C12727#C12727

#C12727 is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.9% C 0.190 H 26.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#C12727
RGBrgb(193, 39, 39)
HSLhsl(0, 66%, 45%)
HSVhsv(0, 80%, 76%)
CMYKcmyk(0%, 79.8%, 79.8%, 24.3%)
CIE-LABlab(42.67, 59.08, 39.43)
CIE-LCHlch(42.67, 71.03, 33.72°)
OKLaboklab(52.86% 0.1696 0.0853)
OKLCHoklch(52.86% 0.19 26.7)
XYZxyz(23.0869, 12.9387, 3.2009)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12727 #27C1C1
analogous
#C12774 #C12727 #C17427
triadic
#C12727 #27C127 #2727C1
tetradic
#C12727 #74C127 #27C1C1 #7427C1
square
#C12727 #74C127 #27C1C1 #7427C1
split-complementary
#C12727 #27C174 #2774C1
monochromatic
#5B1212 #8E1D1D #C12727 #DB4B4B #E57E7E

Accessibility & contrast

On white

5.85
#C12727 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#C12727 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12727
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12727#FFFFFF#000000##FFFFFF
##C127271.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584F25
Deuteranopia (green-blind)
#7E7120
Tritanopia (blue-blind)
#D5002A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #c12727;
/* rgb */ color: rgb(193, 39, 39);
/* oklch */ color: oklch(52.9% 0.190 26.7);
Tailwind
colors: {
  custom: {
    50: '#de7062',
    500: '#c12727',
    950: '#000000',
  },
}
SCSS
$custom: #c12727;
$custom-light: #de7062;
$custom-dark: #000000;
JSON
{
  "hex": "#c12727",
  "rgb": {
    "r": 193,
    "g": 39,
    "b": 39
  },
  "hsl": {
    "h": 0,
    "s": 66.379,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52862,
    "c": 0.18984,
    "h": 26.7
  },
  "luminance": 0.12935
}

Semantic roles & 50–950 ramp

primary
#C12727
secondary
#77CDCD
accent
#E9E93E
background
#FFF7F5
surface
#FEEDEA
border
#D6C8C6
text
#170805
muted
#857B79

Preview Lab

Preview with #C12727

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

Preview Lab → · Contrast checker → · Palette generator →

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