#7E262C#7E262C

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

Color values

HEX#7E262C
RGBrgb(126, 38, 44)
HSLhsl(356, 54%, 32%)
HSVhsv(356, 70%, 49%)
CMYKcmyk(0%, 69.8%, 65.1%, 50.6%)
CIE-LABlab(29.43, 38.28, 17.73)
CIE-LCHlch(29.43, 42.19, 24.85°)
OKLaboklab(40.64% 0.1134 0.0426)
OKLCHoklch(40.64% 0.121 20.6)
XYZxyz(9.7529, 6.0051, 3.0279)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E262C #267E78
analogous
#7E2658 #7E262C #7E4C26
triadic
#7E262C #2C7E26 #262C7E
tetradic
#7E262C #587E26 #267E78 #4C267E
square
#7E262C #587E26 #267E78 #4C267E
split-complementary
#7E262C #267E4C #26587E
monochromatic
#200A0B #4F181C #7E262C #AD343C #CB535B

Accessibility & contrast

On white

9.54
#7E262C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E262C
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E262C#FFFFFF#000000##FFFFFF
##7E262C1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3A2C
Deuteranopia (green-blind)
#544C2A
Tritanopia (blue-blind)
#8A1129
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e262c;
/* rgb */ color: rgb(126, 38, 44);
/* oklch */ color: oklch(40.6% 0.121 20.6);
Tailwind
colors: {
  custom: {
    50: '#a96665',
    500: '#7e262c',
    950: '#000000',
  },
}
SCSS
$custom: #7e262c;
$custom-light: #a96665;
$custom-dark: #000000;
JSON
{
  "hex": "#7e262c",
  "rgb": {
    "r": 126,
    "g": 38,
    "b": 44
  },
  "hsl": {
    "h": 355.909,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40642,
    "c": 0.12116,
    "h": 20.6
  },
  "luminance": 0.06004
}

Semantic roles & 50–950 ramp

primary
#7E262C
secondary
#50B0A9
accent
#DDD34B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7E262C

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

Preview Lab → · Contrast checker → · Palette generator →

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