#7E2522#7E2522

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

Color values

HEX#7E2522
RGBrgb(126, 37, 34)
HSLhsl(2, 58%, 31%)
HSVhsv(2, 73%, 49%)
CMYKcmyk(0%, 70.6%, 73%, 50.6%)
CIE-LABlab(29.10, 38.11, 23.75)
CIE-LCHlch(29.10, 44.90, 31.93°)
OKLaboklab(40.34% 0.1107 0.0546)
OKLCHoklch(40.34% 0.123 26.2)
XYZxyz(9.5555, 5.8756, 2.1440)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2522 #227B7E
analogous
#7E224D #7E2522 #7E5322
triadic
#7E2522 #227E25 #25227E
tetradic
#7E2522 #4D7E22 #227B7E #53227E
square
#7E2522 #4D7E22 #227B7E #53227E
split-complementary
#7E2522 #227E53 #224D7E
monochromatic
#1E0908 #4E1715 #7E2522 #AE332F #CF504C

Accessibility & contrast

On white

9.66
#7E2522 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7E2522 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2522
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2522#FFFFFF#000000##FFFFFF
##7E25221.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3821
Deuteranopia (green-blind)
#544C1F
Tritanopia (blue-blind)
#8B0B25
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e2522;
/* rgb */ color: rgb(126, 37, 34);
/* oklch */ color: oklch(40.3% 0.123 26.2);
Tailwind
colors: {
  custom: {
    50: '#aa655d',
    500: '#7e2522',
    950: '#000000',
  },
}
SCSS
$custom: #7e2522;
$custom-light: #aa655d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2522",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 34
  },
  "hsl": {
    "h": 1.957,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40342,
    "c": 0.12343,
    "h": 26.2
  },
  "luminance": 0.05874
}

Semantic roles & 50–950 ramp

primary
#7E2522
secondary
#4BADB1
accent
#DCE147
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E2522

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

Preview Lab → · Contrast checker → · Palette generator →

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