#C12827#C12827

#C12827 is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.9% C 0.189 H 26.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#C12827
RGBrgb(193, 40, 39)
HSLhsl(0, 66%, 45%)
HSVhsv(0, 80%, 76%)
CMYKcmyk(0%, 79.3%, 79.8%, 24.3%)
CIE-LABlab(42.77, 58.79, 39.53)
CIE-LCHlch(42.77, 70.85, 33.92°)
OKLaboklab(52.94% 0.1687 0.0855)
OKLCHoklch(52.94% 0.189 26.9)
XYZxyz(23.1201, 13.0053, 3.2120)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12827 #27C0C1
analogous
#C12773 #C12827 #C17527
triadic
#C12827 #27C128 #2827C1
tetradic
#C12827 #73C127 #27C0C1 #7527C1
square
#C12827 #73C127 #27C0C1 #7527C1
split-complementary
#C12827 #27C175 #2773C1
monochromatic
#5B1312 #8E1D1D #C12827 #DB4C4B #E57E7E

Accessibility & contrast

On white

5.83
#C12827 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#C12827 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12827
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12827#FFFFFF#000000##FFFFFF
##C128271.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c12827;
/* rgb */ color: rgb(193, 40, 39);
/* oklch */ color: oklch(52.9% 0.189 26.9);
Tailwind
colors: {
  custom: {
    50: '#de7162',
    500: '#c12827',
    950: '#000000',
  },
}
SCSS
$custom: #c12827;
$custom-light: #de7162;
$custom-dark: #000000;
JSON
{
  "hex": "#c12827",
  "rgb": {
    "r": 193,
    "g": 40,
    "b": 39
  },
  "hsl": {
    "h": 0.39,
    "s": 66.379,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52936,
    "c": 0.18915,
    "h": 26.9
  },
  "luminance": 0.13002
}

Semantic roles & 50–950 ramp

primary
#C12827
secondary
#77CDCD
accent
#E8E93E
background
#FFF7F5
surface
#FEEDEA
border
#D6C8C6
text
#170905
muted
#857B79

Preview Lab

Preview with #C12827

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

Preview Lab → · Contrast checker → · Palette generator →

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