#C12D27#C12D27

#C12D27 is a mid, vivid red. Relative luminance 0.134; OKLCH L 53.3% C 0.185 H 27.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#C12D27
RGBrgb(193, 45, 39)
HSLhsl(2, 66%, 45%)
HSVhsv(2, 80%, 76%)
CMYKcmyk(0%, 76.7%, 79.8%, 24.3%)
CIE-LABlab(43.31, 57.29, 40.08)
CIE-LCHlch(43.31, 69.92, 34.97°)
OKLaboklab(53.34% 0.164 0.0867)
OKLCHoklch(53.34% 0.185 27.9)
XYZxyz(23.2997, 13.3644, 3.2718)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12D27 #27BBC1
analogous
#C1276E #C12D27 #C17A27
triadic
#C12D27 #27C12D #2D27C1
tetradic
#C12D27 #6EC127 #27BBC1 #7A27C1
square
#C12D27 #6EC127 #27BBC1 #7A27C1
split-complementary
#C12D27 #27C17A #276EC1
monochromatic
#5B1512 #8E211D #C12D27 #DB504B #E5827E

Accessibility & contrast

On white

5.72
#C12D27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#C12D27 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12D27
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12D27#FFFFFF#000000##FFFFFF
##C12D271.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5224
Deuteranopia (green-blind)
#7F7220
Tritanopia (blue-blind)
#D5002E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c12d27;
/* rgb */ color: rgb(193, 45, 39);
/* oklch */ color: oklch(53.3% 0.185 27.9);
Tailwind
colors: {
  custom: {
    50: '#dd7362',
    500: '#c12d27',
    950: '#000000',
  },
}
SCSS
$custom: #c12d27;
$custom-light: #dd7362;
$custom-dark: #000000;
JSON
{
  "hex": "#c12d27",
  "rgb": {
    "r": 193,
    "g": 45,
    "b": 39
  },
  "hsl": {
    "h": 2.338,
    "s": 66.379,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53335,
    "c": 0.18549,
    "h": 27.9
  },
  "luminance": 0.13361
}

Semantic roles & 50–950 ramp

primary
#C12D27
secondary
#77CACD
accent
#E3E93E
background
#FFF7F5
surface
#FEEDEA
border
#D6C8C6
text
#170905
muted
#857B79

Preview Lab

Preview with #C12D27

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

Preview Lab → · Contrast checker → · Palette generator →

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