#C8312D#C8312D

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

Color values

HEX#C8312D
RGBrgb(200, 49, 45)
HSLhsl(2, 63%, 48%)
HSVhsv(2, 78%, 78%)
CMYKcmyk(0%, 75.5%, 77.5%, 21.6%)
CIE-LABlab(45.18, 58.34, 39.12)
CIE-LCHlch(45.18, 70.24, 33.85°)
OKLaboklab(54.99% 0.1677 0.0859)
OKLCHoklch(54.99% 0.188 27.1)
XYZxyz(25.3944, 14.6694, 3.9765)
Luminance0.1467 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8312D #2DC4C8
analogous
#C82D77 #C8312D #C87E2D
triadic
#C8312D #2DC831 #312DC8
tetradic
#C8312D #77C82D #2DC4C8 #7E2DC8
square
#C8312D #77C82D #2DC4C8 #7E2DC8
split-complementary
#C8312D #2DC87E #2D77C8
monochromatic
#641917 #962522 #C8312D #DA5C59 #E58D8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8312D#FFFFFF#000000##FFFFFF
##C8312D1.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)
#5F562B
Deuteranopia (green-blind)
#847727
Tritanopia (blue-blind)
#DC0032
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c8312d;
/* rgb */ color: rgb(200, 49, 45);
/* oklch */ color: oklch(55.0% 0.188 27.1);
Tailwind
colors: {
  custom: {
    50: '#e27567',
    500: '#c8312d',
    950: '#000000',
  },
}
SCSS
$custom: #c8312d;
$custom-light: #e27567;
$custom-dark: #000000;
JSON
{
  "hex": "#c8312d",
  "rgb": {
    "r": 200,
    "g": 49,
    "b": 45
  },
  "hsl": {
    "h": 1.548,
    "s": 63.265,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54989,
    "c": 0.18841,
    "h": 27.1
  },
  "luminance": 0.14665
}

Semantic roles & 50–950 ramp

primary
#C8312D
secondary
#82CDCF
accent
#E2E641
background
#FFF7F6
surface
#FEEEEB
border
#D6C9C6
text
#170906
muted
#857B7A

Preview Lab

Preview with #C8312D

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

Preview Lab → · Contrast checker → · Palette generator →

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