#7D2812#7D2812

#7D2812 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.3% C 0.122 H 35.2°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#7D2812
RGBrgb(125, 40, 18)
HSLhsl(12, 75%, 28%)
HSVhsv(12, 86%, 49%)
CMYKcmyk(0%, 68%, 85.6%, 51%)
CIE-LABlab(29.22, 35.72, 33.15)
CIE-LCHlch(29.22, 48.74, 42.86°)
OKLaboklab(40.34% 0.1 0.0706)
OKLCHoklch(40.34% 0.122 35.2)
XYZxyz(9.3265, 5.9226, 1.2242)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2812 #12677D
analogous
#7D1232 #7D2812 #7D5D12
triadic
#7D2812 #127D28 #28127D
tetradic
#7D2812 #327D12 #12677D #5D127D
square
#7D2812 #327D12 #12677D #5D127D
split-complementary
#7D2812 #127D5D #12327D
monochromatic
#1B0904 #48170A #7D2812 #B2391A #E04F29

Accessibility & contrast

On white

9.61
#7D2812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7D2812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2812
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2812#FFFFFF#000000##FFFFFF
##7D28121.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390E
Deuteranopia (green-blind)
#564C0E
Tritanopia (blue-blind)
#8A0E24
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d2812;
/* rgb */ color: rgb(125, 40, 18);
/* oklch */ color: oklch(40.3% 0.122 35.2);
Tailwind
colors: {
  custom: {
    50: '#aa6752',
    500: '#7d2812',
    950: '#000000',
  },
}
SCSS
$custom: #7d2812;
$custom-light: #aa6752;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2812",
  "rgb": {
    "r": 125,
    "g": 40,
    "b": 18
  },
  "hsl": {
    "h": 12.336,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40337,
    "c": 0.12243,
    "h": 35.2
  },
  "luminance": 0.05921
}

Semantic roles & 50–950 ramp

primary
#7D2812
secondary
#389AB3
accent
#CBF136
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110602
muted
#807A78

Preview Lab

Preview with #7D2812

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

Preview Lab → · Contrast checker → · Palette generator →

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