#7E2915#7E2915

#7E2915 is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.7% C 0.122 H 34.5°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#7E2915
RGBrgb(126, 41, 21)
HSLhsl(11, 71%, 29%)
HSVhsv(11, 83%, 49%)
CMYKcmyk(0%, 67.5%, 83.3%, 50.6%)
CIE-LABlab(29.61, 35.74, 32.00)
CIE-LCHlch(29.61, 47.97, 41.84°)
OKLaboklab(40.67% 0.1005 0.069)
OKLCHoklch(40.67% 0.122 34.5)
XYZxyz(9.5336, 6.0770, 1.3803)
Luminance0.0608 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2915 #156A7E
analogous
#7E1536 #7E2915 #7E5E15
triadic
#7E2915 #157E29 #29157E
tetradic
#7E2915 #367E15 #156A7E #5E157E
square
#7E2915 #367E15 #156A7E #5E157E
split-complementary
#7E2915 #157E5E #15367E
monochromatic
#1A0904 #4A180C #7E2915 #B23A1E #DD5231

Accessibility & contrast

On white

9.48
#7E2915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7E2915 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2915
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2915#FFFFFF#000000##FFFFFF
##7E29151.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A12
Deuteranopia (green-blind)
#564D11
Tritanopia (blue-blind)
#8B1025
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2915;
/* rgb */ color: rgb(126, 41, 21);
/* oklch */ color: oklch(40.7% 0.122 34.5);
Tailwind
colors: {
  custom: {
    50: '#ab6754',
    500: '#7e2915',
    950: '#000000',
  },
}
SCSS
$custom: #7e2915;
$custom-light: #ab6754;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2915",
  "rgb": {
    "r": 126,
    "g": 41,
    "b": 21
  },
  "hsl": {
    "h": 11.429,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40675,
    "c": 0.12195,
    "h": 34.5
  },
  "luminance": 0.06076
}

Semantic roles & 50–950 ramp

primary
#7E2915
secondary
#3C9CB3
accent
#CCEE3A
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2915

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

Preview Lab → · Contrast checker → · Palette generator →

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