#7E2A18#7E2A18

#7E2A18 is a dark, vivid red. Relative luminance 0.062; OKLCH L 40.8% C 0.120 H 33.7°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#7E2A18
RGBrgb(126, 42, 24)
HSLhsl(11, 68%, 29%)
HSVhsv(11, 81%, 49%)
CMYKcmyk(0%, 66.7%, 81%, 50.6%)
CIE-LABlab(29.81, 35.38, 30.54)
CIE-LCHlch(29.81, 46.74, 40.80°)
OKLaboklab(40.84% 0.1 0.0668)
OKLCHoklch(40.84% 0.12 33.7)
XYZxyz(9.5981, 6.1589, 1.5474)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A18 #186C7E
analogous
#7E1839 #7E2A18 #7E5D18
triadic
#7E2A18 #187E2A #2A187E
tetradic
#7E2A18 #397E18 #186C7E #5D187E
square
#7E2A18 #397E18 #186C7E #5D187E
split-complementary
#7E2A18 #187E5D #18397E
monochromatic
#1A0905 #4B190E #7E2A18 #B13B22 #D95437

Accessibility & contrast

On white

9.41
#7E2A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2A18
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A18#FFFFFF#000000##FFFFFF
##7E2A181.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A15
Deuteranopia (green-blind)
#574D15
Tritanopia (blue-blind)
#8B1326
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2a18;
/* rgb */ color: rgb(126, 42, 24);
/* oklch */ color: oklch(40.8% 0.120 33.7);
Tailwind
colors: {
  custom: {
    50: '#ab6856',
    500: '#7e2a18',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a18;
$custom-light: #ab6856;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a18",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 24
  },
  "hsl": {
    "h": 10.588,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40837,
    "c": 0.1203,
    "h": 33.7
  },
  "luminance": 0.06157
}

Semantic roles & 50–950 ramp

primary
#7E2A18
secondary
#3F9EB2
accent
#CCEB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2A18

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

Preview Lab → · Contrast checker → · Palette generator →

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