#7E262F#7E262F

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

Color values

HEX#7E262F
RGBrgb(126, 38, 47)
HSLhsl(354, 54%, 32%)
HSVhsv(354, 70%, 49%)
CMYKcmyk(0%, 69.8%, 62.7%, 50.6%)
CIE-LABlab(29.48, 38.50, 15.84)
CIE-LCHlch(29.48, 41.63, 22.37°)
OKLaboklab(40.71% 0.1147 0.0385)
OKLCHoklch(40.71% 0.121 18.6)
XYZxyz(9.8113, 6.0284, 3.3357)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E262F #267E75
analogous
#7E265B #7E262F #7E4926
triadic
#7E262F #2F7E26 #262F7E
tetradic
#7E262F #5B7E26 #267E75 #49267E
square
#7E262F #5B7E26 #267E75 #49267E
split-complementary
#7E262F #267E49 #265B7E
monochromatic
#200A0C #4F181D #7E262F #AD3441 #CB535F

Accessibility & contrast

On white

9.52
#7E262F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7E262F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E262F
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E262F#FFFFFF#000000##FFFFFF
##7E262F1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3A2F
Deuteranopia (green-blind)
#534C2D
Tritanopia (blue-blind)
#8A122A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e262f;
/* rgb */ color: rgb(126, 38, 47);
/* oklch */ color: oklch(40.7% 0.121 18.6);
Tailwind
colors: {
  custom: {
    50: '#a96667',
    500: '#7e262f',
    950: '#000000',
  },
}
SCSS
$custom: #7e262f;
$custom-light: #a96667;
$custom-dark: #000000;
JSON
{
  "hex": "#7e262f",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 47
  },
  "hsl": {
    "h": 353.864,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40705,
    "c": 0.12101,
    "h": 18.6
  },
  "luminance": 0.06027
}

Semantic roles & 50–950 ramp

primary
#7E262F
secondary
#50B0A6
accent
#DDCE4B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E262F

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

Preview Lab → · Contrast checker → · Palette generator →

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