#7E2825#7E2825

#7E2825 is a dark, moderate red. Relative luminance 0.061; OKLCH L 40.8% C 0.120 H 25.9°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7E2825
RGBrgb(126, 40, 37)
HSLhsl(2, 55%, 32%)
HSVhsv(2, 71%, 49%)
CMYKcmyk(0%, 68.3%, 70.6%, 50.6%)
CIE-LABlab(29.63, 36.94, 22.49)
CIE-LCHlch(29.63, 43.25, 31.33°)
OKLaboklab(40.76% 0.1077 0.0523)
OKLCHoklch(40.76% 0.12 25.9)
XYZxyz(9.6979, 6.0881, 2.4144)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2825 #257B7E
analogous
#7E254F #7E2825 #7E5425
triadic
#7E2825 #257E28 #28257E
tetradic
#7E2825 #4F7E25 #257B7E #54257E
square
#7E2825 #4F7E25 #257B7E #54257E
split-complementary
#7E2825 #257E54 #254F7E
monochromatic
#1F0A09 #4F1917 #7E2825 #AD3733 #CC5651

Accessibility & contrast

On white

9.47
#7E2825 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2825
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2825#FFFFFF#000000##FFFFFF
##7E28251.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A24
Deuteranopia (green-blind)
#554D22
Tritanopia (blue-blind)
#8B1228
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7e2825;
/* rgb */ color: rgb(126, 40, 37);
/* oklch */ color: oklch(40.8% 0.120 25.9);
Tailwind
colors: {
  custom: {
    50: '#aa675f',
    500: '#7e2825',
    950: '#000000',
  },
}
SCSS
$custom: #7e2825;
$custom-light: #aa675f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2825",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 37
  },
  "hsl": {
    "h": 2.022,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40759,
    "c": 0.11975,
    "h": 25.9
  },
  "luminance": 0.06087
}

Semantic roles & 50–950 ramp

primary
#7E2825
secondary
#4FADB0
accent
#D9DE4A
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7E2825

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

Preview Lab → · Contrast checker → · Palette generator →

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