#7E261D#7E261D

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

Color values

HEX#7E261D
RGBrgb(126, 38, 29)
HSLhsl(6, 63%, 30%)
HSVhsv(6, 77%, 49%)
CMYKcmyk(0%, 69.8%, 77%, 50.6%)
CIE-LABlab(29.19, 37.42, 26.95)
CIE-LCHlch(29.19, 46.11, 35.75°)
OKLaboklab(40.39% 0.1075 0.0604)
OKLCHoklch(40.39% 0.123 29.4)
XYZxyz(9.5201, 5.9120, 1.8020)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E261D #1D757E
analogous
#7E1D44 #7E261D #7E561D
triadic
#7E261D #1D7E26 #261D7E
tetradic
#7E261D #447E1D #1D757E #561D7E
square
#7E261D #447E1D #1D757E #561D7E
split-complementary
#7E261D #1D7E56 #1D447E
monochromatic
#1B0806 #4C1712 #7E261D #B03528 #D34F42

Accessibility & contrast

On white

9.62
#7E261D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E261D
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E261D#FFFFFF#000000##FFFFFF
##7E261D1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F391B
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#8B0B25
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e261d;
/* rgb */ color: rgb(126, 38, 29);
/* oklch */ color: oklch(40.4% 0.123 29.4);
Tailwind
colors: {
  custom: {
    50: '#aa6659',
    500: '#7e261d',
    950: '#000000',
  },
}
SCSS
$custom: #7e261d;
$custom-light: #aa6659;
$custom-dark: #000000;
JSON
{
  "hex": "#7e261d",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 29
  },
  "hsl": {
    "h": 5.567,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40389,
    "c": 0.12328,
    "h": 29.4
  },
  "luminance": 0.05911
}

Semantic roles & 50–950 ramp

primary
#7E261D
secondary
#45A7B1
accent
#D6E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E261D

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

Preview Lab → · Contrast checker → · Palette generator →

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