#7E2F19#7E2F19

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

Color values

HEX#7E2F19
RGBrgb(126, 47, 25)
HSLhsl(13, 67%, 30%)
HSVhsv(13, 80%, 49%)
CMYKcmyk(0%, 62.7%, 80.2%, 50.6%)
CIE-LABlab(30.74, 32.99, 30.93)
CIE-LCHlch(30.74, 45.22, 43.16°)
OKLaboklab(41.54% 0.0928 0.068)
OKLCHoklch(41.54% 0.115 36.2)
XYZxyz(9.7972, 6.5402, 1.6660)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F19 #19687E
analogous
#7E1936 #7E2F19 #7E6119
triadic
#7E2F19 #197E2F #2F197E
tetradic
#7E2F19 #367E19 #19687E #61197E
square
#7E2F19 #367E19 #19687E #61197E
split-complementary
#7E2F19 #197E61 #19367E
monochromatic
#1A0A05 #4B1C0F #7E2F19 #B14223 #D85C3A

Accessibility & contrast

On white

9.10
#7E2F19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2F19
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F19#FFFFFF#000000##FFFFFF
##7E2F191.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D16
Deuteranopia (green-blind)
#594F16
Tritanopia (blue-blind)
#8B1C2A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2f19;
/* rgb */ color: rgb(126, 47, 25);
/* oklch */ color: oklch(41.5% 0.115 36.2);
Tailwind
colors: {
  custom: {
    50: '#aa6b57',
    500: '#7e2f19',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f19;
$custom-light: #aa6b57;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f19",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 25
  },
  "hsl": {
    "h": 13.069,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41539,
    "c": 0.11505,
    "h": 36.2
  },
  "luminance": 0.06539
}

Semantic roles & 50–950 ramp

primary
#7E2F19
secondary
#4199B2
accent
#C4EA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7E2F19

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

Preview Lab → · Contrast checker → · Palette generator →

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