#7E2F17#7E2F17

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

Color values

HEX#7E2F17
RGBrgb(126, 47, 23)
HSLhsl(14, 69%, 29%)
HSVhsv(14, 82%, 49%)
CMYKcmyk(0%, 62.7%, 81.7%, 50.6%)
CIE-LABlab(30.72, 32.91, 32.01)
CIE-LCHlch(30.72, 45.90, 44.21°)
OKLaboklab(41.52% 0.0922 0.0697)
OKLCHoklch(41.52% 0.116 37.1)
XYZxyz(9.7764, 6.5319, 1.5564)
Luminance0.0653 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F17 #17667E
analogous
#7E1732 #7E2F17 #7E6317
triadic
#7E2F17 #177E2F #2F177E
tetradic
#7E2F17 #327E17 #17667E #63177E
square
#7E2F17 #327E17 #17667E #63177E
split-complementary
#7E2F17 #177E63 #17327E
monochromatic
#1A0A05 #4A1C0E #7E2F17 #B24220 #DA5C35

Accessibility & contrast

On white

9.11
#7E2F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2F17
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F17#FFFFFF#000000##FFFFFF
##7E2F171.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2f17;
/* rgb */ color: rgb(126, 47, 23);
/* oklch */ color: oklch(41.5% 0.116 37.1);
Tailwind
colors: {
  custom: {
    50: '#aa6b56',
    500: '#7e2f17',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f17;
$custom-light: #aa6b56;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f17",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 23
  },
  "hsl": {
    "h": 13.981,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41518,
    "c": 0.11557,
    "h": 37.1
  },
  "luminance": 0.06531
}

Semantic roles & 50–950 ramp

primary
#7E2F17
secondary
#3E98B3
accent
#C3EC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7E2F17

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

Preview Lab → · Contrast checker → · Palette generator →

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