#7E2420#7E2420

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

Color values

HEX#7E2420
RGBrgb(126, 36, 32)
HSLhsl(3, 59%, 31%)
HSVhsv(3, 75%, 49%)
CMYKcmyk(0%, 71.4%, 74.6%, 50.6%)
CIE-LABlab(28.91, 38.44, 24.78)
CIE-LCHlch(28.91, 45.73, 32.81°)
OKLaboklab(40.19% 0.1113 0.0564)
OKLCHoklch(40.19% 0.125 26.9)
XYZxyz(9.4968, 5.8031, 1.9863)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2420 #207A7E
analogous
#7E204B #7E2420 #7E5320
triadic
#7E2420 #207E24 #24207E
tetradic
#7E2420 #4B7E20 #207A7E #53207E
square
#7E2420 #4B7E20 #207A7E #53207E
split-complementary
#7E2420 #207E53 #204B7E
monochromatic
#1C0807 #4D1614 #7E2420 #AF322C #D04E48

Accessibility & contrast

On white

9.72
#7E2420 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2420
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2420#FFFFFF#000000##FFFFFF
##7E24201.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D381F
Deuteranopia (green-blind)
#544B1D
Tritanopia (blue-blind)
#8B0724
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e2420;
/* rgb */ color: rgb(126, 36, 32);
/* oklch */ color: oklch(40.2% 0.125 26.9);
Tailwind
colors: {
  custom: {
    50: '#aa655b',
    500: '#7e2420',
    950: '#000000',
  },
}
SCSS
$custom: #7e2420;
$custom-light: #aa655b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2420",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 32
  },
  "hsl": {
    "h": 2.553,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40193,
    "c": 0.12478,
    "h": 26.9
  },
  "luminance": 0.05802
}

Semantic roles & 50–950 ramp

primary
#7E2420
secondary
#49ACB1
accent
#DCE345
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E2420

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

Preview Lab → · Contrast checker → · Palette generator →

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