#C12823#C12823

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

Color values

HEX#C12823
RGBrgb(193, 40, 35)
HSLhsl(2, 69%, 45%)
HSVhsv(2, 82%, 76%)
CMYKcmyk(0%, 79.3%, 81.9%, 24.3%)
CIE-LABlab(42.73, 58.68, 41.67)
CIE-LCHlch(42.73, 71.96, 35.38°)
OKLaboklab(52.9% 0.1675 0.0888)
OKLCHoklch(52.9% 0.19 27.9)
XYZxyz(23.0573, 12.9801, 2.8812)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C12823 #23BCC1
analogous
#C1236D #C12823 #C17723
triadic
#C12823 #23C128 #2823C1
tetradic
#C12823 #6DC123 #23BCC1 #7723C1
square
#C12823 #6DC123 #23BCC1 #7723C1
split-complementary
#C12823 #23C177 #236DC1
monochromatic
#591310 #8D1D1A #C12823 #DD4944 #E67B78

Accessibility & contrast

On white

5.84
#C12823 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C12823
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C12823#FFFFFF#000000##FFFFFF
##C128231.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595020
Deuteranopia (green-blind)
#7E711B
Tritanopia (blue-blind)
#D50029
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #c12823;
/* rgb */ color: rgb(193, 40, 35);
/* oklch */ color: oklch(52.9% 0.190 27.9);
Tailwind
colors: {
  custom: {
    50: '#de715f',
    500: '#c12823',
    950: '#000000',
  },
}
SCSS
$custom: #c12823;
$custom-light: #de715f;
$custom-dark: #000000;
JSON
{
  "hex": "#c12823",
  "rgb": {
    "r": 193,
    "g": 40,
    "b": 35
  },
  "hsl": {
    "h": 1.899,
    "s": 69.298,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52896,
    "c": 0.18962,
    "h": 27.9
  },
  "luminance": 0.12976
}

Semantic roles & 50–950 ramp

primary
#C12823
secondary
#72CBCE
accent
#E7EC3C
background
#FFF7F5
surface
#FEEDE9
border
#D6C8C5
text
#170805
muted
#857B79

Preview Lab

Preview with #C12823

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

Preview Lab → · Contrast checker → · Palette generator →

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