#7E2519#7E2519

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

Color values

HEX#7E2519
RGBrgb(126, 37, 25)
HSLhsl(7, 67%, 30%)
HSVhsv(7, 80%, 49%)
CMYKcmyk(0%, 70.6%, 80.2%, 50.6%)
CIE-LABlab(28.98, 37.69, 29.11)
CIE-LCHlch(28.98, 47.62, 37.68°)
OKLaboklab(40.22% 0.1074 0.064)
OKLCHoklch(40.22% 0.125 30.8)
XYZxyz(9.4423, 5.8304, 1.5477)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2519 #19727E
analogous
#7E193F #7E2519 #7E5819
triadic
#7E2519 #197E25 #25197E
tetradic
#7E2519 #3F7E19 #19727E #58197E
square
#7E2519 #3F7E19 #19727E #58197E
split-complementary
#7E2519 #197E58 #193F7E
monochromatic
#1A0705 #4B160F #7E2519 #B13423 #D84C3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E2519#FFFFFF#000000##FFFFFF
##7E25191.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3817
Deuteranopia (green-blind)
#554C15
Tritanopia (blue-blind)
#8B0823
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e2519;
/* rgb */ color: rgb(126, 37, 25);
/* oklch */ color: oklch(40.2% 0.125 30.8);
Tailwind
colors: {
  custom: {
    50: '#ab6556',
    500: '#7e2519',
    950: '#000000',
  },
}
SCSS
$custom: #7e2519;
$custom-light: #ab6556;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2519",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 25
  },
  "hsl": {
    "h": 7.129,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40218,
    "c": 0.12505,
    "h": 30.8
  },
  "luminance": 0.05829
}

Semantic roles & 50–950 ramp

primary
#7E2519
secondary
#41A5B2
accent
#D5EA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2519

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

Preview Lab → · Contrast checker → · Palette generator →

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