#7E261A#7E261A

#7E261A is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.4% C 0.124 H 30.8°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#7E261A
RGBrgb(126, 38, 26)
HSLhsl(7, 66%, 30%)
HSVhsv(7, 79%, 49%)
CMYKcmyk(0%, 69.8%, 79.4%, 50.6%)
CIE-LABlab(29.15, 37.29, 28.70)
CIE-LCHlch(29.15, 47.06, 37.58°)
OKLaboklab(40.35% 0.1064 0.0634)
OKLCHoklch(40.35% 0.124 30.8)
XYZxyz(9.4848, 5.8978, 1.6160)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E261A #1A727E
analogous
#7E1A40 #7E261A #7E581A
triadic
#7E261A #1A7E26 #261A7E
tetradic
#7E261A #407E1A #1A727E #581A7E
square
#7E261A #407E1A #1A727E #581A7E
split-complementary
#7E261A #1A7E58 #1A407E
monochromatic
#190805 #4B1710 #7E261A #B13524 #D74E3C

Accessibility & contrast

On white

9.64
#7E261A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7E261A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E261A
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E261A#FFFFFF#000000##FFFFFF
##7E261A1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3818
Deuteranopia (green-blind)
#554C17
Tritanopia (blue-blind)
#8B0B24
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e261a;
/* rgb */ color: rgb(126, 38, 26);
/* oklch */ color: oklch(40.4% 0.124 30.8);
Tailwind
colors: {
  custom: {
    50: '#ab6657',
    500: '#7e261a',
    950: '#000000',
  },
}
SCSS
$custom: #7e261a;
$custom-light: #ab6657;
$custom-dark: #000000;
JSON
{
  "hex": "#7e261a",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 26
  },
  "hsl": {
    "h": 7.2,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40351,
    "c": 0.12386,
    "h": 30.8
  },
  "luminance": 0.05896
}

Semantic roles & 50–950 ramp

primary
#7E261A
secondary
#42A5B2
accent
#D4E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E261A

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

Preview Lab → · Contrast checker → · Palette generator →

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