#7E2A15#7E2A15

#7E2A15 is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.8% C 0.121 H 35.0°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#7E2A15
RGBrgb(126, 42, 21)
HSLhsl(12, 71%, 29%)
HSVhsv(12, 83%, 49%)
CMYKcmyk(0%, 66.7%, 83.3%, 50.6%)
CIE-LABlab(29.78, 35.27, 32.17)
CIE-LCHlch(29.78, 47.73, 42.37°)
OKLaboklab(40.81% 0.0991 0.0694)
OKLCHoklch(40.81% 0.121 35)
XYZxyz(9.5686, 6.1471, 1.3920)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A15 #15697E
analogous
#7E1535 #7E2A15 #7E5F15
triadic
#7E2A15 #157E2A #2A157E
tetradic
#7E2A15 #357E15 #15697E #5F157E
square
#7E2A15 #357E15 #15697E #5F157E
split-complementary
#7E2A15 #157E5F #15357E
monochromatic
#1A0904 #4A190C #7E2A15 #B23B1E #DD5331

Accessibility & contrast

On white

9.42
#7E2A15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7E2A15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2A15
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A15#FFFFFF#000000##FFFFFF
##7E2A151.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A12
Deuteranopia (green-blind)
#574D11
Tritanopia (blue-blind)
#8B1326
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2a15;
/* rgb */ color: rgb(126, 42, 21);
/* oklch */ color: oklch(40.8% 0.121 35.0);
Tailwind
colors: {
  custom: {
    50: '#ab6854',
    500: '#7e2a15',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a15;
$custom-light: #ab6854;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a15",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 21
  },
  "hsl": {
    "h": 12,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40806,
    "c": 0.12097,
    "h": 35
  },
  "luminance": 0.06146
}

Semantic roles & 50–950 ramp

primary
#7E2A15
secondary
#3C9BB3
accent
#CAEE3A
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2A15

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

Preview Lab → · Contrast checker → · Palette generator →

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