#7E2A19#7E2A19

#7E2A19 is a dark, vivid red. Relative luminance 0.062; OKLCH L 40.8% C 0.120 H 33.3°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#7E2A19
RGBrgb(126, 42, 25)
HSLhsl(10, 67%, 30%)
HSVhsv(10, 80%, 49%)
CMYKcmyk(0%, 66.7%, 80.2%, 50.6%)
CIE-LABlab(29.82, 35.42, 29.98)
CIE-LCHlch(29.82, 46.41, 40.24°)
OKLaboklab(40.85% 0.1004 0.0659)
OKLCHoklch(40.85% 0.12 33.3)
XYZxyz(9.6087, 6.1631, 1.6032)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A19 #196D7E
analogous
#7E193B #7E2A19 #7E5D19
triadic
#7E2A19 #197E2A #2A197E
tetradic
#7E2A19 #3B7E19 #196D7E #5D197E
square
#7E2A19 #3B7E19 #196D7E #5D197E
split-complementary
#7E2A19 #197E5D #193B7E
monochromatic
#1A0905 #4B190F #7E2A19 #B13B23 #D8543A

Accessibility & contrast

On white

9.41
#7E2A19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2A19
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A19#FFFFFF#000000##FFFFFF
##7E2A191.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B17
Deuteranopia (green-blind)
#574D16
Tritanopia (blue-blind)
#8B1327
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2a19;
/* rgb */ color: rgb(126, 42, 25);
/* oklch */ color: oklch(40.8% 0.120 33.3);
Tailwind
colors: {
  custom: {
    50: '#aa6857',
    500: '#7e2a19',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a19;
$custom-light: #aa6857;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a19",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 25
  },
  "hsl": {
    "h": 10.099,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40849,
    "c": 0.12007,
    "h": 33.3
  },
  "luminance": 0.06162
}

Semantic roles & 50–950 ramp

primary
#7E2A19
secondary
#419FB2
accent
#CDEA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2A19

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

Preview Lab → · Contrast checker → · Palette generator →

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