#7C222A#7C222A

#7C222A is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.8% C 0.123 H 20.0°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#7C222A
RGBrgb(124, 34, 42)
HSLhsl(355, 57%, 31%)
HSVhsv(355, 73%, 49%)
CMYKcmyk(0%, 72.6%, 66.1%, 51.4%)
CIE-LABlab(28.37, 39.16, 17.61)
CIE-LCHlch(28.37, 42.94, 24.21°)
OKLaboklab(39.77% 0.1161 0.0422)
OKLCHoklch(39.77% 0.124 20)
XYZxyz(9.3031, 5.5976, 2.7806)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C222A #227C74
analogous
#7C2257 #7C222A #7C4722
triadic
#7C222A #2A7C22 #222A7C
tetradic
#7C222A #577C22 #227C74 #47227C
square
#7C222A #577C22 #227C74 #47227C
split-complementary
#7C222A #227C47 #22577C
monochromatic
#1C0809 #4C151A #7C222A #AC2F3A #CE4B56

Accessibility & contrast

On white

9.91
#7C222A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7C222A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C222A
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C222A#FFFFFF#000000##FFFFFF
##7C222A1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c222a;
/* rgb */ color: rgb(124, 34, 42);
/* oklch */ color: oklch(39.8% 0.123 20.0);
Tailwind
colors: {
  custom: {
    50: '#a86463',
    500: '#7c222a',
    950: '#000000',
  },
}
SCSS
$custom: #7c222a;
$custom-light: #a86463;
$custom-dark: #000000;
JSON
{
  "hex": "#7c222a",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 42
  },
  "hsl": {
    "h": 354.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39773,
    "c": 0.1235,
    "h": 20
  },
  "luminance": 0.05596
}

Semantic roles & 50–950 ramp

primary
#7C222A
secondary
#4BAFA6
accent
#E0D348
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7C222A

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

Preview Lab → · Contrast checker → · Palette generator →

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