#7E2B18#7E2B18

#7E2B18 is a dark, moderate red. Relative luminance 0.062; OKLCH L 41.0% C 0.119 H 34.3°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#7E2B18
RGBrgb(126, 43, 24)
HSLhsl(11, 68%, 29%)
HSVhsv(11, 81%, 49%)
CMYKcmyk(0%, 65.9%, 81%, 50.6%)
CIE-LABlab(29.99, 34.91, 30.72)
CIE-LCHlch(29.99, 46.50, 41.35°)
OKLaboklab(40.97% 0.0986 0.0672)
OKLCHoklch(40.97% 0.119 34.3)
XYZxyz(9.6340, 6.2307, 1.5593)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2B18 #186B7E
analogous
#7E1838 #7E2B18 #7E5E18
triadic
#7E2B18 #187E2B #2B187E
tetradic
#7E2B18 #387E18 #186B7E #5E187E
square
#7E2B18 #387E18 #186B7E #5E187E
split-complementary
#7E2B18 #187E5E #18387E
monochromatic
#1A0905 #4B190E #7E2B18 #B13D22 #D95637

Accessibility & contrast

On white

9.35
#7E2B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7E2B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2B18
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2B18#FFFFFF#000000##FFFFFF
##7E2B181.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B15
Deuteranopia (green-blind)
#574D15
Tritanopia (blue-blind)
#8B1527
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2b18;
/* rgb */ color: rgb(126, 43, 24);
/* oklch */ color: oklch(41.0% 0.119 34.3);
Tailwind
colors: {
  custom: {
    50: '#aa6856',
    500: '#7e2b18',
    950: '#000000',
  },
}
SCSS
$custom: #7e2b18;
$custom-light: #aa6856;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2b18",
  "rgb": {
    "r": 126,
    "g": 43,
    "b": 24
  },
  "hsl": {
    "h": 11.176,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40971,
    "c": 0.1193,
    "h": 34.3
  },
  "luminance": 0.06229
}

Semantic roles & 50–950 ramp

primary
#7E2B18
secondary
#3F9DB2
accent
#CAEB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2B18

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

Preview Lab → · Contrast checker → · Palette generator →

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