#7E2A12#7E2A12

#7E2A12 is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.8% C 0.122 H 36.1°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#7E2A12
RGBrgb(126, 42, 18)
HSLhsl(13, 75%, 28%)
HSVhsv(13, 86%, 49%)
CMYKcmyk(0%, 66.7%, 85.7%, 50.6%)
CIE-LABlab(29.75, 35.17, 33.72)
CIE-LCHlch(29.75, 48.72, 43.79°)
OKLaboklab(40.78% 0.0982 0.0717)
OKLCHoklch(40.78% 0.122 36.1)
XYZxyz(9.5424, 6.1366, 1.2542)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A12 #12667E
analogous
#7E1230 #7E2A12 #7E6012
triadic
#7E2A12 #127E2A #2A127E
tetradic
#7E2A12 #307E12 #12667E #60127E
square
#7E2A12 #307E12 #12667E #60127E
split-complementary
#7E2A12 #127E60 #12307E
monochromatic
#1B0904 #48180A #7E2A12 #B43C1A #E1522A

Accessibility & contrast

On white

9.43
#7E2A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7E2A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2A12
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A12#FFFFFF#000000##FFFFFF
##7E2A121.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0E
Deuteranopia (green-blind)
#574D0E
Tritanopia (blue-blind)
#8B1225
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2a12;
/* rgb */ color: rgb(126, 42, 18);
/* oklch */ color: oklch(40.8% 0.122 36.1);
Tailwind
colors: {
  custom: {
    50: '#ab6852',
    500: '#7e2a12',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a12;
$custom-light: #ab6852;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a12",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 18
  },
  "hsl": {
    "h": 13.333,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40778,
    "c": 0.12163,
    "h": 36.1
  },
  "luminance": 0.06135
}

Semantic roles & 50–950 ramp

primary
#7E2A12
secondary
#3898B4
accent
#C8F236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110602
muted
#807A78

Preview Lab

Preview with #7E2A12

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

Preview Lab → · Contrast checker → · Palette generator →

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