#7E261F#7E261F

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

Color values

HEX#7E261F
RGBrgb(126, 38, 31)
HSLhsl(4, 61%, 31%)
HSVhsv(4, 75%, 49%)
CMYKcmyk(0%, 69.8%, 75.4%, 50.6%)
CIE-LABlab(29.22, 37.52, 25.75)
CIE-LCHlch(29.22, 45.51, 34.46°)
OKLaboklab(40.42% 0.1082 0.0583)
OKLCHoklch(40.42% 0.123 28.3)
XYZxyz(9.5457, 5.9222, 1.9365)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E261F #1F777E
analogous
#7E1F47 #7E261F #7E551F
triadic
#7E261F #1F7E26 #261F7E
tetradic
#7E261F #477E1F #1F777E #551F7E
square
#7E261F #477E1F #1F777E #551F7E
split-complementary
#7E261F #1F7E55 #1F477E
monochromatic
#1C0807 #4D1713 #7E261F #AF352B #D15046

Accessibility & contrast

On white

9.61
#7E261F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E261F
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E261F#FFFFFF#000000##FFFFFF
##7E261F1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F391E
Deuteranopia (green-blind)
#554C1C
Tritanopia (blue-blind)
#8B0C25
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e261f;
/* rgb */ color: rgb(126, 38, 31);
/* oklch */ color: oklch(40.4% 0.123 28.3);
Tailwind
colors: {
  custom: {
    50: '#aa665b',
    500: '#7e261f',
    950: '#000000',
  },
}
SCSS
$custom: #7e261f;
$custom-light: #aa665b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e261f",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 31
  },
  "hsl": {
    "h": 4.421,
    "s": 60.51,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40417,
    "c": 0.12291,
    "h": 28.3
  },
  "luminance": 0.05921
}

Semantic roles & 50–950 ramp

primary
#7E261F
secondary
#48A9B1
accent
#D8E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E261F

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

Preview Lab → · Contrast checker → · Palette generator →

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