#C8312E#C8312E

#C8312E is a mid, vivid red. Relative luminance 0.147; OKLCH L 55.0% C 0.188 H 26.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#C8312E
RGBrgb(200, 49, 46)
HSLhsl(1, 63%, 48%)
HSVhsv(1, 77%, 78%)
CMYKcmyk(0%, 75.5%, 77%, 21.6%)
CIE-LABlab(45.19, 58.37, 38.58)
CIE-LCHlch(45.19, 69.97, 33.46°)
OKLaboklab(55% 0.168 0.085)
OKLCHoklch(55% 0.188 26.8)
XYZxyz(25.4139, 14.6772, 4.0791)
Luminance0.1467 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8312E #2EC5C8
analogous
#C82E78 #C8312E #C87E2E
triadic
#C8312E #2EC831 #312EC8
tetradic
#C8312E #78C82E #2EC5C8 #7E2EC8
square
#C8312E #78C82E #2EC5C8 #7E2EC8
split-complementary
#C8312E #2EC87E #2E78C8
monochromatic
#641917 #962523 #C8312E #D95D5A #E58E8C

Accessibility & contrast

On white

5.34
#C8312E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C8312E
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8312E#FFFFFF#000000##FFFFFF
##C8312E1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F562C
Deuteranopia (green-blind)
#847728
Tritanopia (blue-blind)
#DC0032
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c8312e;
/* rgb */ color: rgb(200, 49, 46);
/* oklch */ color: oklch(55.0% 0.188 26.8);
Tailwind
colors: {
  custom: {
    50: '#e27567',
    500: '#c8312e',
    950: '#000000',
  },
}
SCSS
$custom: #c8312e;
$custom-light: #e27567;
$custom-dark: #000000;
JSON
{
  "hex": "#c8312e",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 46
  },
  "hsl": {
    "h": 1.169,
    "s": 62.602,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55001,
    "c": 0.18828,
    "h": 26.8
  },
  "luminance": 0.14673
}

Semantic roles & 50–950 ramp

primary
#C8312E
secondary
#83CDCF
accent
#E2E642
background
#FFF7F6
surface
#FEEEEB
border
#D6C9C6
text
#170906
muted
#857B7A

Preview Lab

Preview with #C8312E

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

Preview Lab → · Contrast checker → · Palette generator →

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