#7E2F1E#7E2F1E

#7E2F1E is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.6% C 0.114 H 33.8°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#7E2F1E
RGBrgb(126, 47, 30)
HSLhsl(11, 62%, 31%)
HSVhsv(11, 76%, 49%)
CMYKcmyk(0%, 62.7%, 76.2%, 50.6%)
CIE-LABlab(30.79, 33.21, 28.12)
CIE-LCHlch(30.79, 43.52, 40.25°)
OKLaboklab(41.6% 0.0945 0.0632)
OKLCHoklch(41.6% 0.114 33.8)
XYZxyz(9.8561, 6.5637, 1.9760)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F1E #1E6D7E
analogous
#7E1E3D #7E2F1E #7E5F1E
triadic
#7E2F1E #1E7E2F #2F1E7E
tetradic
#7E2F1E #3D7E1E #1E6D7E #5F1E7E
square
#7E2F1E #3D7E1E #1E6D7E #5F1E7E
split-complementary
#7E2F1E #1E7E5F #1E3D7E
monochromatic
#1B0A06 #4D1D12 #7E2F1E #AF412A #D25D44

Accessibility & contrast

On white

9.08
#7E2F1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7E2F1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2F1E
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F1E#FFFFFF#000000##FFFFFF
##7E2F1E1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E1C
Deuteranopia (green-blind)
#584F1C
Tritanopia (blue-blind)
#8B1D2B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2f1e;
/* rgb */ color: rgb(126, 47, 30);
/* oklch */ color: oklch(41.6% 0.114 33.8);
Tailwind
colors: {
  custom: {
    50: '#aa6b5a',
    500: '#7e2f1e',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f1e;
$custom-light: #aa6b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f1e",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 30
  },
  "hsl": {
    "h": 10.625,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.416,
    "c": 0.11373,
    "h": 33.8
  },
  "luminance": 0.06562
}

Semantic roles & 50–950 ramp

primary
#7E2F1E
secondary
#479EB1
accent
#C8E543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7E2F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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