#7E2718#7E2718

#7E2718 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.5% C 0.123 H 32.2°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#7E2718
RGBrgb(126, 39, 24)
HSLhsl(9, 68%, 29%)
HSVhsv(9, 81%, 49%)
CMYKcmyk(0%, 69%, 81%, 50.6%)
CIE-LABlab(29.30, 36.76, 30.01)
CIE-LCHlch(29.30, 47.46, 39.23°)
OKLaboklab(40.45% 0.1043 0.0657)
OKLCHoklch(40.45% 0.123 32.2)
XYZxyz(9.4956, 5.9540, 1.5132)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2718 #186F7E
analogous
#7E183C #7E2718 #7E5A18
triadic
#7E2718 #187E27 #27187E
tetradic
#7E2718 #3C7E18 #186F7E #5A187E
square
#7E2718 #3C7E18 #186F7E #5A187E
split-complementary
#7E2718 #187E5A #183C7E
monochromatic
#1A0805 #4B170E #7E2718 #B13722 #D94F37

Accessibility & contrast

On white

9.59
#7E2718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2718
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2718#FFFFFF#000000##FFFFFF
##7E27181.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2718;
/* rgb */ color: rgb(126, 39, 24);
/* oklch */ color: oklch(40.5% 0.123 32.2);
Tailwind
colors: {
  custom: {
    50: '#ab6656',
    500: '#7e2718',
    950: '#000000',
  },
}
SCSS
$custom: #7e2718;
$custom-light: #ab6656;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2718",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 24
  },
  "hsl": {
    "h": 8.824,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40451,
    "c": 0.12327,
    "h": 32.2
  },
  "luminance": 0.05953
}

Semantic roles & 50–950 ramp

primary
#7E2718
secondary
#3FA2B2
accent
#D1EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2718

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

Preview Lab → · Contrast checker → · Palette generator →

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