#7E2818#7E2818

#7E2818 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.6% C 0.122 H 32.7°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#7E2818
RGBrgb(126, 40, 24)
HSLhsl(9, 68%, 29%)
HSVhsv(9, 81%, 49%)
CMYKcmyk(0%, 68.3%, 81%, 50.6%)
CIE-LABlab(29.46, 36.31, 30.18)
CIE-LCHlch(29.46, 47.22, 39.74°)
OKLaboklab(40.58% 0.1029 0.0661)
OKLCHoklch(40.58% 0.122 32.7)
XYZxyz(9.5289, 6.0205, 1.5243)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2818 #186E7E
analogous
#7E183B #7E2818 #7E5B18
triadic
#7E2818 #187E28 #28187E
tetradic
#7E2818 #3B7E18 #186E7E #5B187E
square
#7E2818 #3B7E18 #186E7E #5B187E
split-complementary
#7E2818 #187E5B #183B7E
monochromatic
#1A0805 #4B180E #7E2818 #B13822 #D95137

Accessibility & contrast

On white

9.53
#7E2818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7E2818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2818
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2818#FFFFFF#000000##FFFFFF
##7E28181.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413916
Deuteranopia (green-blind)
#564C15
Tritanopia (blue-blind)
#8B0F25
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e2818;
/* rgb */ color: rgb(126, 40, 24);
/* oklch */ color: oklch(40.6% 0.122 32.7);
Tailwind
colors: {
  custom: {
    50: '#ab6756',
    500: '#7e2818',
    950: '#000000',
  },
}
SCSS
$custom: #7e2818;
$custom-light: #ab6756;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2818",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 24
  },
  "hsl": {
    "h": 9.412,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40577,
    "c": 0.12228,
    "h": 32.7
  },
  "luminance": 0.06019
}

Semantic roles & 50–950 ramp

primary
#7E2818
secondary
#3FA0B2
accent
#D0EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2818

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

Preview Lab → · Contrast checker → · Palette generator →

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