#7E2E25#7E2E25

#7E2E25 is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.6% C 0.113 H 29.2°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#7E2E25
RGBrgb(126, 46, 37)
HSLhsl(6, 55%, 32%)
HSVhsv(6, 71%, 49%)
CMYKcmyk(0%, 63.5%, 70.6%, 50.6%)
CIE-LABlab(30.70, 34.09, 23.77)
CIE-LCHlch(30.70, 41.56, 34.88°)
OKLaboklab(41.56% 0.0988 0.0552)
OKLCHoklch(41.56% 0.113 29.2)
XYZxyz(9.9161, 6.5245, 2.4871)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E25 #25757E
analogous
#7E2549 #7E2E25 #7E5A25
triadic
#7E2E25 #257E2E #2E257E
tetradic
#7E2E25 #497E25 #25757E #5A257E
square
#7E2E25 #497E25 #25757E #5A257E
split-complementary
#7E2E25 #257E5A #25497E
monochromatic
#1F0B09 #4F1D17 #7E2E25 #AD3F33 #CC5E51

Accessibility & contrast

On white

9.11
#7E2E25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7E2E25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2E25
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E25#FFFFFF#000000##FFFFFF
##7E2E251.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433D24
Deuteranopia (green-blind)
#574F23
Tritanopia (blue-blind)
#8B1C2C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2e25;
/* rgb */ color: rgb(126, 46, 37);
/* oklch */ color: oklch(41.6% 0.113 29.2);
Tailwind
colors: {
  custom: {
    50: '#a96a60',
    500: '#7e2e25',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e25;
$custom-light: #a96a60;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e25",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 37
  },
  "hsl": {
    "h": 6.067,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4156,
    "c": 0.11311,
    "h": 29.2
  },
  "luminance": 0.06523
}

Semantic roles & 50–950 ramp

primary
#7E2E25
secondary
#4FA6B0
accent
#CFDE4A
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7E2E25

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

Preview Lab → · Contrast checker → · Palette generator →

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