#7E263B#7E263B

#7E263B is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.0% C 0.122 H 10.0°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#7E263B
RGBrgb(126, 38, 59)
HSLhsl(346, 54%, 32%)
HSVhsv(346, 70%, 49%)
CMYKcmyk(0%, 69.8%, 53.2%, 50.6%)
CIE-LABlab(29.76, 39.49, 8.29)
CIE-LCHlch(29.76, 40.35, 11.86°)
OKLaboklab(41% 0.1198 0.0212)
OKLCHoklch(41% 0.122 10)
XYZxyz(10.0876, 6.1389, 4.7906)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E263B #267E69
analogous
#7E2667 #7E263B #7E3D26
triadic
#7E263B #3B7E26 #263B7E
tetradic
#7E263B #677E26 #267E69 #3D267E
square
#7E263B #677E26 #267E69 #3D267E
split-complementary
#7E263B #267E3D #26677E
monochromatic
#200A0F #4F1825 #7E263B #AD3451 #CB5370

Accessibility & contrast

On white

9.43
#7E263B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7E263B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E263B
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E263B#FFFFFF#000000##FFFFFF
##7E263B1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3B3B
Deuteranopia (green-blind)
#524D39
Tritanopia (blue-blind)
#8A162E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e263b;
/* rgb */ color: rgb(126, 38, 59);
/* oklch */ color: oklch(41.0% 0.122 10.0);
Tailwind
colors: {
  custom: {
    50: '#a86770',
    500: '#7e263b',
    950: '#000000',
  },
}
SCSS
$custom: #7e263b;
$custom-light: #a86770;
$custom-dark: #000000;
JSON
{
  "hex": "#7e263b",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 59
  },
  "hsl": {
    "h": 345.682,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41,
    "c": 0.12165,
    "h": 10
  },
  "luminance": 0.06138
}

Semantic roles & 50–950 ramp

primary
#7E263B
secondary
#50B099
accent
#DDBA4B
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7E263B

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

Preview Lab → · Contrast checker → · Palette generator →

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