#7D1812#7D1812

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

Color values

HEX#7D1812
RGBrgb(125, 24, 18)
HSLhsl(3, 75%, 28%)
HSVhsv(3, 86%, 49%)
CMYKcmyk(0%, 80.8%, 85.6%, 51%)
CIE-LABlab(26.90, 42.09, 30.99)
CIE-LCHlch(26.90, 52.27, 36.37°)
OKLaboklab(38.6% 0.1198 0.0658)
OKLCHoklch(38.6% 0.137 28.8)
XYZxyz(8.8944, 5.0584, 1.0802)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1812 #12777D
analogous
#7D1242 #7D1812 #7D4D12
triadic
#7D1812 #127D18 #18127D
tetradic
#7D1812 #427D12 #12777D #4D127D
square
#7D1812 #427D12 #12777D #4D127D
split-complementary
#7D1812 #127D4D #12427D
monochromatic
#1B0504 #480E0A #7D1812 #B2221A #E03329

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D1812#FFFFFF#000000##FFFFFF
##7D18121.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)
#383110
Deuteranopia (green-blind)
#51470C
Tritanopia (blue-blind)
#8A0018
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7d1812;
/* rgb */ color: rgb(125, 24, 18);
/* oklch */ color: oklch(38.6% 0.137 28.8);
Tailwind
colors: {
  custom: {
    50: '#ab5f51',
    500: '#7d1812',
    950: '#000000',
  },
}
SCSS
$custom: #7d1812;
$custom-light: #ab5f51;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1812",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 18
  },
  "hsl": {
    "h": 3.364,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38604,
    "c": 0.13667,
    "h": 28.8
  },
  "luminance": 0.05057
}

Semantic roles & 50–950 ramp

primary
#7D1812
secondary
#38ACB3
accent
#E7F136
background
#FBF5F4
surface
#F6EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #7D1812

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

Preview Lab → · Contrast checker → · Palette generator →

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