#C8312A#C8312A

#C8312A is a mid, vivid red. Relative luminance 0.146; OKLCH L 55.0% C 0.189 H 28.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#C8312A
RGBrgb(200, 49, 42)
HSLhsl(3, 65%, 47%)
HSVhsv(3, 79%, 78%)
CMYKcmyk(0%, 75.5%, 79%, 21.6%)
CIE-LABlab(45.15, 58.23, 40.74)
CIE-LCHlch(45.15, 71.07, 34.98°)
OKLaboklab(54.96% 0.1668 0.0885)
OKLCHoklch(54.96% 0.189 28)
XYZxyz(25.3387, 14.6472, 3.6830)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8312A #2AC1C8
analogous
#C82A72 #C8312A #C8802A
triadic
#C8312A #2AC831 #312AC8
tetradic
#C8312A #72C82A #2AC1C8 #802AC8
square
#C8312A #72C82A #2AC1C8 #802AC8
split-complementary
#C8312A #2AC880 #2A72C8
monochromatic
#631815 #95251F #C8312A #DB5A54 #E68B87

Accessibility & contrast

On white

5.35
#C8312A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#C8312A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C8312A
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8312A#FFFFFF#000000##FFFFFF
##C8312A1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5627
Deuteranopia (green-blind)
#857723
Tritanopia (blue-blind)
#DC0031
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c8312a;
/* rgb */ color: rgb(200, 49, 42);
/* oklch */ color: oklch(55.0% 0.189 28.0);
Tailwind
colors: {
  custom: {
    50: '#e27565',
    500: '#c8312a',
    950: '#000000',
  },
}
SCSS
$custom: #c8312a;
$custom-light: #e27565;
$custom-dark: #000000;
JSON
{
  "hex": "#c8312a",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 42
  },
  "hsl": {
    "h": 2.658,
    "s": 65.289,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54956,
    "c": 0.1888,
    "h": 28
  },
  "luminance": 0.14643
}

Semantic roles & 50–950 ramp

primary
#C8312A
secondary
#7FCCCF
accent
#E1E840
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#170905
muted
#857B7A

Preview Lab

Preview with #C8312A

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

Preview Lab → · Contrast checker → · Palette generator →

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