#7E261B#7E261B

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

Color values

HEX#7E261B
RGBrgb(126, 38, 27)
HSLhsl(7, 65%, 30%)
HSVhsv(7, 79%, 49%)
CMYKcmyk(0%, 69.8%, 78.6%, 50.6%)
CIE-LABlab(29.16, 37.33, 28.12)
CIE-LCHlch(29.16, 46.74, 36.99°)
OKLaboklab(40.36% 0.1067 0.0625)
OKLCHoklch(40.36% 0.124 30.3)
XYZxyz(9.4962, 5.9024, 1.6759)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E261B #1B737E
analogous
#7E1B41 #7E261B #7E581B
triadic
#7E261B #1B7E26 #261B7E
tetradic
#7E261B #417E1B #1B737E #581B7E
square
#7E261B #417E1B #1B737E #581B7E
split-complementary
#7E261B #1B7E58 #1B417E
monochromatic
#190805 #4C1710 #7E261B #B03526 #D64F3E

Accessibility & contrast

On white

9.63
#7E261B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E261B
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E261B#FFFFFF#000000##FFFFFF
##7E261B1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e261b;
/* rgb */ color: rgb(126, 38, 27);
/* oklch */ color: oklch(40.4% 0.124 30.3);
Tailwind
colors: {
  custom: {
    50: '#ab6658',
    500: '#7e261b',
    950: '#000000',
  },
}
SCSS
$custom: #7e261b;
$custom-light: #ab6658;
$custom-dark: #000000;
JSON
{
  "hex": "#7e261b",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 27
  },
  "hsl": {
    "h": 6.667,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.40363,
    "c": 0.12366,
    "h": 30.3
  },
  "luminance": 0.05901
}

Semantic roles & 50–950 ramp

primary
#7E261B
secondary
#43A6B2
accent
#D5E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E261B

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

Preview Lab → · Contrast checker → · Palette generator →

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