#7E262B#7E262B

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

Color values

HEX#7E262B
RGBrgb(126, 38, 43)
HSLhsl(357, 54%, 32%)
HSVhsv(357, 70%, 49%)
CMYKcmyk(0%, 69.8%, 65.9%, 50.6%)
CIE-LABlab(29.41, 38.22, 18.35)
CIE-LCHlch(29.41, 42.39, 25.65°)
OKLaboklab(40.62% 0.113 0.0439)
OKLCHoklch(40.62% 0.121 21.2)
XYZxyz(9.7343, 5.9976, 2.9301)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E262B #267E79
analogous
#7E2657 #7E262B #7E4D26
triadic
#7E262B #2B7E26 #262B7E
tetradic
#7E262B #577E26 #267E79 #4D267E
square
#7E262B #577E26 #267E79 #4D267E
split-complementary
#7E262B #267E4D #26577E
monochromatic
#200A0B #4F181B #7E262B #AD343B #CB535A

Accessibility & contrast

On white

9.55
#7E262B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E262B
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E262B#FFFFFF#000000##FFFFFF
##7E262B1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D392B
Deuteranopia (green-blind)
#544C29
Tritanopia (blue-blind)
#8A1029
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e262b;
/* rgb */ color: rgb(126, 38, 43);
/* oklch */ color: oklch(40.6% 0.121 21.2);
Tailwind
colors: {
  custom: {
    50: '#a96664',
    500: '#7e262b',
    950: '#000000',
  },
}
SCSS
$custom: #7e262b;
$custom-light: #a96664;
$custom-dark: #000000;
JSON
{
  "hex": "#7e262b",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 43
  },
  "hsl": {
    "h": 356.591,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40622,
    "c": 0.12124,
    "h": 21.2
  },
  "luminance": 0.05996
}

Semantic roles & 50–950 ramp

primary
#7E262B
secondary
#50B0AA
accent
#DDD54B
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7E262B

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

Preview Lab → · Contrast checker → · Palette generator →

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