#7E281E#7E281E

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

Color values

HEX#7E281E
RGBrgb(126, 40, 30)
HSLhsl(6, 62%, 31%)
HSVhsv(6, 76%, 49%)
CMYKcmyk(0%, 68.3%, 76.2%, 50.6%)
CIE-LABlab(29.53, 36.57, 26.72)
CIE-LCHlch(29.53, 45.29, 36.15°)
OKLaboklab(40.65% 0.105 0.0602)
OKLCHoklch(40.65% 0.121 29.8)
XYZxyz(9.5984, 6.0483, 1.8901)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E281E #1E747E
analogous
#7E1E44 #7E281E #7E581E
triadic
#7E281E #1E7E28 #281E7E
tetradic
#7E281E #447E1E #1E747E #581E7E
square
#7E281E #447E1E #1E747E #581E7E
split-complementary
#7E281E #1E7E58 #1E447E
monochromatic
#1B0906 #4D1812 #7E281E #AF382A #D25344

Accessibility & contrast

On white

9.50
#7E281E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E281E
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E281E#FFFFFF#000000##FFFFFF
##7E281E1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A1C
Deuteranopia (green-blind)
#554D1B
Tritanopia (blue-blind)
#8B1026
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e281e;
/* rgb */ color: rgb(126, 40, 30);
/* oklch */ color: oklch(40.7% 0.121 29.8);
Tailwind
colors: {
  custom: {
    50: '#aa675a',
    500: '#7e281e',
    950: '#000000',
  },
}
SCSS
$custom: #7e281e;
$custom-light: #aa675a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e281e",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 30
  },
  "hsl": {
    "h": 6.25,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40652,
    "c": 0.12103,
    "h": 29.8
  },
  "luminance": 0.06047
}

Semantic roles & 50–950 ramp

primary
#7E281E
secondary
#47A6B1
accent
#D4E543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E281E

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

Preview Lab → · Contrast checker → · Palette generator →

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