#7E2F1B#7E2F1B

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

Color values

HEX#7E2F1B
RGBrgb(126, 47, 27)
HSLhsl(12, 65%, 30%)
HSVhsv(12, 79%, 49%)
CMYKcmyk(0%, 62.7%, 78.6%, 50.6%)
CIE-LABlab(30.76, 33.07, 29.82)
CIE-LCHlch(30.76, 44.53, 42.04°)
OKLaboklab(41.56% 0.0935 0.0661)
OKLCHoklch(41.56% 0.115 35.3)
XYZxyz(9.8196, 6.5491, 1.7837)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F1B #1B6A7E
analogous
#7E1B39 #7E2F1B #7E601B
triadic
#7E2F1B #1B7E2F #2F1B7E
tetradic
#7E2F1B #397E1B #1B6A7E #601B7E
square
#7E2F1B #397E1B #1B6A7E #601B7E
split-complementary
#7E2F1B #1B7E60 #1B397E
monochromatic
#190905 #4C1C10 #7E2F1B #B04226 #D65C3E

Accessibility & contrast

On white

9.09
#7E2F1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2F1B
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F1B#FFFFFF#000000##FFFFFF
##7E2F1B1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D18
Deuteranopia (green-blind)
#584F18
Tritanopia (blue-blind)
#8B1C2B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2f1b;
/* rgb */ color: rgb(126, 47, 27);
/* oklch */ color: oklch(41.6% 0.115 35.3);
Tailwind
colors: {
  custom: {
    50: '#aa6b58',
    500: '#7e2f1b',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f1b;
$custom-light: #aa6b58;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f1b",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 27
  },
  "hsl": {
    "h": 12.121,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.41562,
    "c": 0.11452,
    "h": 35.3
  },
  "luminance": 0.06548
}

Semantic roles & 50–950 ramp

primary
#7E2F1B
secondary
#439BB2
accent
#C6E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7E2F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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