#7E2512#7E2512

#7E2512 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.1% C 0.126 H 33.6°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#7E2512
RGBrgb(126, 37, 18)
HSLhsl(11, 75%, 28%)
HSVhsv(11, 86%, 49%)
CMYKcmyk(0%, 70.6%, 85.7%, 50.6%)
CIE-LABlab(28.91, 37.44, 32.94)
CIE-LCHlch(28.91, 49.87, 41.34°)
OKLaboklab(40.14% 0.1053 0.07)
OKLCHoklch(40.14% 0.126 33.6)
XYZxyz(9.3760, 5.8038, 1.1987)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2512 #126B7E
analogous
#7E1235 #7E2512 #7E5B12
triadic
#7E2512 #127E25 #25127E
tetradic
#7E2512 #357E12 #126B7E #5B127E
square
#7E2512 #357E12 #126B7E #5B127E
split-complementary
#7E2512 #127E5B #12357E
monochromatic
#1B0804 #48150A #7E2512 #B4351A #E14A2A

Accessibility & contrast

On white

9.72
#7E2512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7E2512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2512
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2512#FFFFFF#000000##FFFFFF
##7E25121.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F380F
Deuteranopia (green-blind)
#554B0D
Tritanopia (blue-blind)
#8B0622
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e2512;
/* rgb */ color: rgb(126, 37, 18);
/* oklch */ color: oklch(40.1% 0.126 33.6);
Tailwind
colors: {
  custom: {
    50: '#ab6552',
    500: '#7e2512',
    950: '#000000',
  },
}
SCSS
$custom: #7e2512;
$custom-light: #ab6552;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2512",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 18
  },
  "hsl": {
    "h": 10.556,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40145,
    "c": 0.1264,
    "h": 33.6
  },
  "luminance": 0.05802
}

Semantic roles & 50–950 ramp

primary
#7E2512
secondary
#389EB4
accent
#D1F236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7E2512

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

Preview Lab → · Contrast checker → · Palette generator →

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