#C12B23#C12B23

#C12B23 is a mid, vivid red. Relative luminance 0.132; OKLCH L 53.1% C 0.187 H 28.5°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#C12B23
RGBrgb(193, 43, 35)
HSLhsl(3, 69%, 45%)
HSVhsv(3, 82%, 76%)
CMYKcmyk(0%, 77.7%, 81.9%, 24.3%)
CIE-LABlab(43.05, 57.79, 41.97)
CIE-LCHlch(43.05, 71.42, 35.99°)
OKLaboklab(53.13% 0.1648 0.0895)
OKLCHoklch(53.13% 0.187 28.5)
XYZxyz(23.1624, 13.1903, 2.9162)
Luminance0.1319 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12B23 #23B9C1
analogous
#C1236A #C12B23 #C17A23
triadic
#C12B23 #23C12B #2B23C1
tetradic
#C12B23 #6AC123 #23B9C1 #7A23C1
square
#C12B23 #6AC123 #23B9C1 #7A23C1
split-complementary
#C12B23 #23C17A #236AC1
monochromatic
#591410 #8D1F1A #C12B23 #DD4C44 #E67E78

Accessibility & contrast

On white

5.77
#C12B23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#C12B23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C12B23
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12B23#FFFFFF#000000##FFFFFF
##C12B231.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5120
Deuteranopia (green-blind)
#7F711B
Tritanopia (blue-blind)
#D5002B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c12b23;
/* rgb */ color: rgb(193, 43, 35);
/* oklch */ color: oklch(53.1% 0.187 28.5);
Tailwind
colors: {
  custom: {
    50: '#de7260',
    500: '#c12b23',
    950: '#000000',
  },
}
SCSS
$custom: #c12b23;
$custom-light: #de7260;
$custom-dark: #000000;
JSON
{
  "hex": "#c12b23",
  "rgb": {
    "r": 193,
    "g": 43,
    "b": 35
  },
  "hsl": {
    "h": 3.038,
    "s": 69.298,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53131,
    "c": 0.18749,
    "h": 28.5
  },
  "luminance": 0.13187
}

Semantic roles & 50–950 ramp

primary
#C12B23
secondary
#72C9CE
accent
#E3EC3C
background
#FFF7F5
surface
#FEEDE9
border
#D6C8C5
text
#170905
muted
#857B79

Preview Lab

Preview with #C12B23

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

Preview Lab → · Contrast checker → · Palette generator →

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