#7C212A#7C212A

#7C212A is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.7% C 0.125 H 19.6°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#7C212A
RGBrgb(124, 33, 42)
HSLhsl(354, 58%, 31%)
HSVhsv(354, 73%, 49%)
CMYKcmyk(0%, 73.4%, 66.1%, 51.4%)
CIE-LABlab(28.22, 39.57, 17.42)
CIE-LCHlch(28.22, 43.24, 23.76°)
OKLaboklab(39.66% 0.1174 0.0417)
OKLCHoklch(39.66% 0.125 19.6)
XYZxyz(9.2749, 5.5413, 2.7712)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C212A #217C73
analogous
#7C2157 #7C212A #7C4521
triadic
#7C212A #2A7C21 #212A7C
tetradic
#7C212A #577C21 #217C73 #45217C
square
#7C212A #577C21 #217C73 #45217C
split-complementary
#7C212A #217C45 #21577C
monochromatic
#1B0709 #4C141A #7C212A #AC2E3A #CF4956

Accessibility & contrast

On white

9.96
#7C212A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7C212A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C212A
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C212A#FFFFFF#000000##FFFFFF
##7C212A1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A362A
Deuteranopia (green-blind)
#514A27
Tritanopia (blue-blind)
#880625
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c212a;
/* rgb */ color: rgb(124, 33, 42);
/* oklch */ color: oklch(39.7% 0.125 19.6);
Tailwind
colors: {
  custom: {
    50: '#a86363',
    500: '#7c212a',
    950: '#000000',
  },
}
SCSS
$custom: #7c212a;
$custom-light: #a86363;
$custom-dark: #000000;
JSON
{
  "hex": "#7c212a",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 42
  },
  "hsl": {
    "h": 354.066,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39661,
    "c": 0.12458,
    "h": 19.6
  },
  "luminance": 0.0554
}

Semantic roles & 50–950 ramp

primary
#7C212A
secondary
#4AAFA5
accent
#E1D247
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7C212A

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

Preview Lab → · Contrast checker → · Palette generator →

#7C212A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva