#7E261C#7E261C

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

Color values

HEX#7E261C
RGBrgb(126, 38, 28)
HSLhsl(6, 64%, 30%)
HSVhsv(6, 78%, 49%)
CMYKcmyk(0%, 69.8%, 77.8%, 50.6%)
CIE-LABlab(29.18, 37.38, 27.54)
CIE-LCHlch(29.18, 46.43, 36.38°)
OKLaboklab(40.38% 0.1071 0.0615)
OKLCHoklch(40.38% 0.123 29.9)
XYZxyz(9.5080, 5.9071, 1.7379)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E261C #1C747E
analogous
#7E1C43 #7E261C #7E571C
triadic
#7E261C #1C7E26 #261C7E
tetradic
#7E261C #437E1C #1C747E #571C7E
square
#7E261C #437E1C #1C747E #571C7E
split-complementary
#7E261C #1C7E57 #1C437E
monochromatic
#1A0806 #4C1711 #7E261C #B03527 #D54F40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E261C#FFFFFF#000000##FFFFFF
##7E261C1.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)
#3F391A
Deuteranopia (green-blind)
#554C19
Tritanopia (blue-blind)
#8B0B24
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e261c;
/* rgb */ color: rgb(126, 38, 28);
/* oklch */ color: oklch(40.4% 0.123 29.9);
Tailwind
colors: {
  custom: {
    50: '#aa6659',
    500: '#7e261c',
    950: '#000000',
  },
}
SCSS
$custom: #7e261c;
$custom-light: #aa6659;
$custom-dark: #000000;
JSON
{
  "hex": "#7e261c",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 28
  },
  "hsl": {
    "h": 6.122,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40376,
    "c": 0.12347,
    "h": 29.9
  },
  "luminance": 0.05906
}

Semantic roles & 50–950 ramp

primary
#7E261C
secondary
#44A6B2
accent
#D6E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E261C

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

Preview Lab → · Contrast checker → · Palette generator →

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