#7E262E#7E262E

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

Color values

HEX#7E262E
RGBrgb(126, 38, 46)
HSLhsl(355, 54%, 32%)
HSVhsv(355, 70%, 49%)
CMYKcmyk(0%, 69.8%, 63.5%, 50.6%)
CIE-LABlab(29.46, 38.42, 16.47)
CIE-LCHlch(29.46, 41.80, 23.20°)
OKLaboklab(40.68% 0.1143 0.0399)
OKLCHoklch(40.68% 0.121 19.2)
XYZxyz(9.7914, 6.0205, 3.2307)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E262E #267E76
analogous
#7E265A #7E262E #7E4A26
triadic
#7E262E #2E7E26 #262E7E
tetradic
#7E262E #5A7E26 #267E76 #4A267E
square
#7E262E #5A7E26 #267E76 #4A267E
split-complementary
#7E262E #267E4A #265A7E
monochromatic
#200A0C #4F181D #7E262E #AD343F #CB535E

Accessibility & contrast

On white

9.53
#7E262E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E262E
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E262E#FFFFFF#000000##FFFFFF
##7E262E1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3A2E
Deuteranopia (green-blind)
#534C2C
Tritanopia (blue-blind)
#8A112A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e262e;
/* rgb */ color: rgb(126, 38, 46);
/* oklch */ color: oklch(40.7% 0.121 19.2);
Tailwind
colors: {
  custom: {
    50: '#a96666',
    500: '#7e262e',
    950: '#000000',
  },
}
SCSS
$custom: #7e262e;
$custom-light: #a96666;
$custom-dark: #000000;
JSON
{
  "hex": "#7e262e",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 46
  },
  "hsl": {
    "h": 354.545,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40683,
    "c": 0.12105,
    "h": 19.2
  },
  "luminance": 0.06019
}

Semantic roles & 50–950 ramp

primary
#7E262E
secondary
#50B0A7
accent
#DDD04B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E262E

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

Preview Lab → · Contrast checker → · Palette generator →

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