#7C1822#7C1822

#7C1822 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.6% C 0.134 H 21.3°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#7C1822
RGBrgb(124, 24, 34)
HSLhsl(354, 68%, 29%)
HSVhsv(354, 81%, 49%)
CMYKcmyk(0%, 80.6%, 72.6%, 51.4%)
CIE-LABlab(26.89, 42.42, 21.02)
CIE-LCHlch(26.89, 47.34, 26.36°)
OKLaboklab(38.63% 0.1247 0.0487)
OKLCHoklch(38.63% 0.134 21.3)
XYZxyz(8.9286, 5.0552, 2.0187)
Luminance0.0505 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1822 #187C72
analogous
#7C1854 #7C1822 #7C4018
triadic
#7C1822 #227C18 #18227C
tetradic
#7C1822 #547C18 #187C72 #40187C
square
#7C1822 #547C18 #187C72 #40187C
split-complementary
#7C1822 #187C40 #18547C
monochromatic
#1A0507 #490E14 #7C1822 #AF2230 #D83646

Accessibility & contrast

On white

10.44
#7C1822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7C1822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1822
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1822#FFFFFF#000000##FFFFFF
##7C18221.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363222
Deuteranopia (green-blind)
#4F471F
Tritanopia (blue-blind)
#89001D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7c1822;
/* rgb */ color: rgb(124, 24, 34);
/* oklch */ color: oklch(38.6% 0.134 21.3);
Tailwind
colors: {
  custom: {
    50: '#a95f5d',
    500: '#7c1822',
    950: '#000000',
  },
}
SCSS
$custom: #7c1822;
$custom-light: #a95f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1822",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 34
  },
  "hsl": {
    "h": 354,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.38625,
    "c": 0.13382,
    "h": 21.3
  },
  "luminance": 0.05054
}

Semantic roles & 50–950 ramp

primary
#7C1822
secondary
#3FB1A5
accent
#EAD93D
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7C1822

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

Preview Lab → · Contrast checker → · Palette generator →

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