#7E261E#7E261E

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

Color values

HEX#7E261E
RGBrgb(126, 38, 30)
HSLhsl(5, 62%, 31%)
HSVhsv(5, 76%, 49%)
CMYKcmyk(0%, 69.8%, 76.2%, 50.6%)
CIE-LABlab(29.20, 37.47, 26.35)
CIE-LCHlch(29.20, 45.81, 35.12°)
OKLaboklab(40.4% 0.1078 0.0594)
OKLCHoklch(40.4% 0.123 28.8)
XYZxyz(9.5327, 5.9170, 1.8682)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E261E #1E767E
analogous
#7E1E46 #7E261E #7E561E
triadic
#7E261E #1E7E26 #261E7E
tetradic
#7E261E #467E1E #1E767E #561E7E
square
#7E261E #467E1E #1E767E #561E7E
split-complementary
#7E261E #1E7E56 #1E467E
monochromatic
#1B0806 #4D1712 #7E261E #AF352A #D25044

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E261E#FFFFFF#000000##FFFFFF
##7E261E1.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)
#3F391C
Deuteranopia (green-blind)
#554C1B
Tritanopia (blue-blind)
#8B0C25
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e261e;
/* rgb */ color: rgb(126, 38, 30);
/* oklch */ color: oklch(40.4% 0.123 28.8);
Tailwind
colors: {
  custom: {
    50: '#aa665a',
    500: '#7e261e',
    950: '#000000',
  },
}
SCSS
$custom: #7e261e;
$custom-light: #aa665a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e261e",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 30
  },
  "hsl": {
    "h": 5,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40403,
    "c": 0.12309,
    "h": 28.8
  },
  "luminance": 0.05916
}

Semantic roles & 50–950 ramp

primary
#7E261E
secondary
#47A8B1
accent
#D7E543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E261E

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

Preview Lab → · Contrast checker → · Palette generator →

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