#7E2F18#7E2F18

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

Color values

HEX#7E2F18
RGBrgb(126, 47, 24)
HSLhsl(14, 68%, 29%)
HSVhsv(14, 81%, 49%)
CMYKcmyk(0%, 62.7%, 81%, 50.6%)
CIE-LABlab(30.73, 32.94, 31.47)
CIE-LCHlch(30.73, 45.56, 43.69°)
OKLaboklab(41.53% 0.0925 0.0689)
OKLCHoklch(41.53% 0.115 36.7)
XYZxyz(9.7866, 6.5360, 1.6102)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F18 #18677E
analogous
#7E1834 #7E2F18 #7E6218
triadic
#7E2F18 #187E2F #2F187E
tetradic
#7E2F18 #347E18 #18677E #62187E
square
#7E2F18 #347E18 #18677E #62187E
split-complementary
#7E2F18 #187E62 #18347E
monochromatic
#1A0A05 #4B1C0E #7E2F18 #B14222 #D95C37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E2F18#FFFFFF#000000##FFFFFF
##7E2F181.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)
#453D15
Deuteranopia (green-blind)
#594F15
Tritanopia (blue-blind)
#8B1C2A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2f18;
/* rgb */ color: rgb(126, 47, 24);
/* oklch */ color: oklch(41.5% 0.115 36.7);
Tailwind
colors: {
  custom: {
    50: '#aa6b56',
    500: '#7e2f18',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f18;
$custom-light: #aa6b56;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f18",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 24
  },
  "hsl": {
    "h": 13.529,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41529,
    "c": 0.11531,
    "h": 36.7
  },
  "luminance": 0.06535
}

Semantic roles & 50–950 ramp

primary
#7E2F18
secondary
#3F98B2
accent
#C4EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7E2F18

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

Preview Lab → · Contrast checker → · Palette generator →

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