#C12A23#C12A23

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

Color values

HEX#C12A23
RGBrgb(193, 42, 35)
HSLhsl(3, 69%, 45%)
HSVhsv(3, 82%, 76%)
CMYKcmyk(0%, 78.2%, 81.9%, 24.3%)
CIE-LABlab(42.94, 58.09, 41.87)
CIE-LCHlch(42.94, 71.61, 35.78°)
OKLaboklab(53.05% 0.1657 0.0893)
OKLCHoklch(53.05% 0.188 28.3)
XYZxyz(23.1265, 13.1185, 2.9042)
Luminance0.1311 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12A23 #23BAC1
analogous
#C1236B #C12A23 #C17923
triadic
#C12A23 #23C12A #2A23C1
tetradic
#C12A23 #6BC123 #23BAC1 #7923C1
square
#C12A23 #6BC123 #23BAC1 #7923C1
split-complementary
#C12A23 #23C179 #236BC1
monochromatic
#591310 #8D1F1A #C12A23 #DD4B44 #E67D78

Accessibility & contrast

On white

5.80
#C12A23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#C12A23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12A23
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12A23#FFFFFF#000000##FFFFFF
##C12A231.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5020
Deuteranopia (green-blind)
#7F711B
Tritanopia (blue-blind)
#D5002A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #c12a23;
/* rgb */ color: rgb(193, 42, 35);
/* oklch */ color: oklch(53.1% 0.188 28.3);
Tailwind
colors: {
  custom: {
    50: '#de715f',
    500: '#c12a23',
    950: '#000000',
  },
}
SCSS
$custom: #c12a23;
$custom-light: #de715f;
$custom-dark: #000000;
JSON
{
  "hex": "#c12a23",
  "rgb": {
    "r": 193,
    "g": 42,
    "b": 35
  },
  "hsl": {
    "h": 2.658,
    "s": 69.298,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53051,
    "c": 0.18821,
    "h": 28.3
  },
  "luminance": 0.13115
}

Semantic roles & 50–950 ramp

primary
#C12A23
secondary
#72CACE
accent
#E4EC3C
background
#FFF7F5
surface
#FEEDE9
border
#D6C8C5
text
#170905
muted
#857B79

Preview Lab

Preview with #C12A23

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

Preview Lab → · Contrast checker → · Palette generator →

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