#7E2F1C#7E2F1C

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

Color values

HEX#7E2F1C
RGBrgb(126, 47, 28)
HSLhsl(12, 64%, 30%)
HSVhsv(12, 78%, 49%)
CMYKcmyk(0%, 62.7%, 77.8%, 50.6%)
CIE-LABlab(30.77, 33.12, 29.26)
CIE-LCHlch(30.77, 44.19, 41.46°)
OKLaboklab(41.57% 0.0938 0.0652)
OKLCHoklch(41.57% 0.114 34.8)
XYZxyz(9.8313, 6.5538, 1.8457)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F1C #1C6B7E
analogous
#7E1C3A #7E2F1C #7E601C
triadic
#7E2F1C #1C7E2F #2F1C7E
tetradic
#7E2F1C #3A7E1C #1C6B7E #601C7E
square
#7E2F1C #3A7E1C #1C6B7E #601C7E
split-complementary
#7E2F1C #1C7E60 #1C3A7E
monochromatic
#1A0A06 #4C1C11 #7E2F1C #B04227 #D55D40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E2F1C#FFFFFF#000000##FFFFFF
##7E2F1C1.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)
#453D1A
Deuteranopia (green-blind)
#584F19
Tritanopia (blue-blind)
#8B1C2B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2f1c;
/* rgb */ color: rgb(126, 47, 28);
/* oklch */ color: oklch(41.6% 0.114 34.8);
Tailwind
colors: {
  custom: {
    50: '#aa6b59',
    500: '#7e2f1c',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f1c;
$custom-light: #aa6b59;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f1c",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 28
  },
  "hsl": {
    "h": 11.633,
    "s": 63.636,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41574,
    "c": 0.11425,
    "h": 34.8
  },
  "luminance": 0.06552
}

Semantic roles & 50–950 ramp

primary
#7E2F1C
secondary
#449CB2
accent
#C7E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7E2F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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