#7E2711#7E2711

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

Color values

HEX#7E2711
RGBrgb(126, 39, 17)
HSLhsl(12, 76%, 28%)
HSVhsv(12, 87%, 49%)
CMYKcmyk(0%, 69%, 86.5%, 50.6%)
CIE-LABlab(29.23, 36.52, 33.75)
CIE-LCHlch(29.23, 49.73, 42.74°)
OKLaboklab(40.38% 0.1022 0.0714)
OKLCHoklch(40.38% 0.125 34.9)
XYZxyz(9.4320, 5.9285, 1.1779)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2711 #11687E
analogous
#7E1131 #7E2711 #7E5D11
triadic
#7E2711 #117E27 #27117E
tetradic
#7E2711 #317E11 #11687E #5D117E
square
#7E2711 #317E11 #11687E #5D117E
split-complementary
#7E2711 #117E5D #11317E
monochromatic
#1B0804 #48160A #7E2711 #B43818 #E24D27

Accessibility & contrast

On white

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

On black

2.19
#7E2711 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7E2711#FFFFFF#000000##FFFFFF
##7E27111.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40390D
Deuteranopia (green-blind)
#564C0C
Tritanopia (blue-blind)
#8B0B23
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e2711;
/* rgb */ color: rgb(126, 39, 17);
/* oklch */ color: oklch(40.4% 0.125 34.9);
Tailwind
colors: {
  custom: {
    50: '#ab6651',
    500: '#7e2711',
    950: '#000000',
  },
}
SCSS
$custom: #7e2711;
$custom-light: #ab6651;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2711",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 17
  },
  "hsl": {
    "h": 12.11,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40382,
    "c": 0.1247,
    "h": 34.9
  },
  "luminance": 0.05927
}

Semantic roles & 50–950 ramp

primary
#7E2711
secondary
#379BB4
accent
#CCF335
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7E2711

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

Preview Lab → · Contrast checker → · Palette generator →

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