#7E2517#7E2517

#7E2517 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.2% C 0.125 H 31.7°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#7E2517
RGBrgb(126, 37, 23)
HSLhsl(8, 69%, 29%)
HSVhsv(8, 82%, 49%)
CMYKcmyk(0%, 70.6%, 81.7%, 50.6%)
CIE-LABlab(28.96, 37.61, 30.24)
CIE-LCHlch(28.96, 48.26, 38.80°)
OKLaboklab(40.2% 0.1068 0.0659)
OKLCHoklch(40.2% 0.125 31.7)
XYZxyz(9.4215, 5.8220, 1.4381)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2517 #17707E
analogous
#7E173D #7E2517 #7E5917
triadic
#7E2517 #177E25 #25177E
tetradic
#7E2517 #3D7E17 #17707E #59177E
square
#7E2517 #3D7E17 #17707E #59177E
split-complementary
#7E2517 #177E59 #173D7E
monochromatic
#1A0805 #4A160E #7E2517 #B23420 #DA4C35

Accessibility & contrast

On white

9.70
#7E2517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7E2517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2517
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2517#FFFFFF#000000##FFFFFF
##7E25171.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3815
Deuteranopia (green-blind)
#554B13
Tritanopia (blue-blind)
#8B0722
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e2517;
/* rgb */ color: rgb(126, 37, 23);
/* oklch */ color: oklch(40.2% 0.125 31.7);
Tailwind
colors: {
  custom: {
    50: '#ab6555',
    500: '#7e2517',
    950: '#000000',
  },
}
SCSS
$custom: #7e2517;
$custom-light: #ab6555;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2517",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 23
  },
  "hsl": {
    "h": 8.155,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40195,
    "c": 0.12543,
    "h": 31.7
  },
  "luminance": 0.05821
}

Semantic roles & 50–950 ramp

primary
#7E2517
secondary
#3EA3B3
accent
#D4EC3C
background
#FBF6F5
surface
#F6EBE8
border
#D0C6C4
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2517

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

Preview Lab → · Contrast checker → · Palette generator →

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