#7E2618#7E2618

#7E2618 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.3% C 0.124 H 31.7°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#7E2618
RGBrgb(126, 38, 24)
HSLhsl(8, 68%, 29%)
HSVhsv(8, 81%, 49%)
CMYKcmyk(0%, 69.8%, 81%, 50.6%)
CIE-LABlab(29.13, 37.21, 29.84)
CIE-LCHlch(29.13, 47.70, 38.73°)
OKLaboklab(40.33% 0.1057 0.0653)
OKLCHoklch(40.33% 0.124 31.7)
XYZxyz(9.4632, 5.8892, 1.5024)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2618 #18707E
analogous
#7E183D #7E2618 #7E5918
triadic
#7E2618 #187E26 #26187E
tetradic
#7E2618 #3D7E18 #18707E #59187E
square
#7E2618 #3D7E18 #18707E #59187E
split-complementary
#7E2618 #187E59 #183D7E
monochromatic
#1A0805 #4B160E #7E2618 #B13622 #D94E37

Accessibility & contrast

On white

9.64
#7E2618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7E2618 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2618
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2618#FFFFFF#000000##FFFFFF
##7E26181.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3816
Deuteranopia (green-blind)
#554C14
Tritanopia (blue-blind)
#8B0A23
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e2618;
/* rgb */ color: rgb(126, 38, 24);
/* oklch */ color: oklch(40.3% 0.124 31.7);
Tailwind
colors: {
  custom: {
    50: '#ab6656',
    500: '#7e2618',
    950: '#000000',
  },
}
SCSS
$custom: #7e2618;
$custom-light: #ab6656;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2618",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 24
  },
  "hsl": {
    "h": 8.235,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40327,
    "c": 0.12426,
    "h": 31.7
  },
  "luminance": 0.05888
}

Semantic roles & 50–950 ramp

primary
#7E2618
secondary
#3FA3B2
accent
#D3EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2618

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

Preview Lab → · Contrast checker → · Palette generator →

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