#7E262D#7E262D

#7E262D is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.7% C 0.121 H 19.9°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#7E262D
RGBrgb(126, 38, 45)
HSLhsl(355, 54%, 32%)
HSVhsv(355, 70%, 49%)
CMYKcmyk(0%, 69.8%, 64.3%, 50.6%)
CIE-LABlab(29.44, 38.35, 17.10)
CIE-LCHlch(29.44, 41.99, 24.03°)
OKLaboklab(40.66% 0.1139 0.0412)
OKLCHoklch(40.66% 0.121 19.9)
XYZxyz(9.7719, 6.0127, 3.1281)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E262D #267E77
analogous
#7E2659 #7E262D #7E4B26
triadic
#7E262D #2D7E26 #262D7E
tetradic
#7E262D #597E26 #267E77 #4B267E
square
#7E262D #597E26 #267E77 #4B267E
split-complementary
#7E262D #267E4B #26597E
monochromatic
#200A0B #4F181C #7E262D #AD343E #CB535D

Accessibility & contrast

On white

9.54
#7E262D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7E262D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E262D
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E262D#FFFFFF#000000##FFFFFF
##7E262D1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3A2D
Deuteranopia (green-blind)
#534C2B
Tritanopia (blue-blind)
#8A1129
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e262d;
/* rgb */ color: rgb(126, 38, 45);
/* oklch */ color: oklch(40.7% 0.121 19.9);
Tailwind
colors: {
  custom: {
    50: '#a96665',
    500: '#7e262d',
    950: '#000000',
  },
}
SCSS
$custom: #7e262d;
$custom-light: #a96665;
$custom-dark: #000000;
JSON
{
  "hex": "#7e262d",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 45
  },
  "hsl": {
    "h": 355.227,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40662,
    "c": 0.1211,
    "h": 19.9
  },
  "luminance": 0.06011
}

Semantic roles & 50–950 ramp

primary
#7E262D
secondary
#50B0A8
accent
#DDD14B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7E262D

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

Preview Lab → · Contrast checker → · Palette generator →

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