#7E263C#7E263C

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

Color values

HEX#7E263C
RGBrgb(126, 38, 60)
HSLhsl(345, 54%, 32%)
HSVhsv(345, 70%, 49%)
CMYKcmyk(0%, 69.8%, 52.4%, 50.6%)
CIE-LABlab(29.79, 39.58, 7.67)
CIE-LCHlch(29.79, 40.32, 10.96°)
OKLaboklab(41.03% 0.1202 0.0197)
OKLCHoklch(41.03% 0.122 9.3)
XYZxyz(10.1138, 6.1494, 4.9285)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E263C #267E68
analogous
#7E2668 #7E263C #7E3C26
triadic
#7E263C #3C7E26 #263C7E
tetradic
#7E263C #687E26 #267E68 #3C267E
square
#7E263C #687E26 #267E68 #3C267E
split-complementary
#7E263C #267E3C #26687E
monochromatic
#200A0F #4F1826 #7E263C #AD3452 #CB5371

Accessibility & contrast

On white

9.42
#7E263C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E263C
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E263C#FFFFFF#000000##FFFFFF
##7E263C1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3B3C
Deuteranopia (green-blind)
#514D3A
Tritanopia (blue-blind)
#8A172F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e263c;
/* rgb */ color: rgb(126, 38, 60);
/* oklch */ color: oklch(41.0% 0.122 9.3);
Tailwind
colors: {
  custom: {
    50: '#a86771',
    500: '#7e263c',
    950: '#000000',
  },
}
SCSS
$custom: #7e263c;
$custom-light: #a86771;
$custom-dark: #000000;
JSON
{
  "hex": "#7e263c",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 60
  },
  "hsl": {
    "h": 345,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41028,
    "c": 0.12181,
    "h": 9.3
  },
  "luminance": 0.06148
}

Semantic roles & 50–950 ramp

primary
#7E263C
secondary
#50B098
accent
#DDB84B
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7E263C

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

Preview Lab → · Contrast checker → · Palette generator →

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