#7E2F15#7E2F15

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

Color values

HEX#7E2F15
RGBrgb(126, 47, 21)
HSLhsl(15, 71%, 29%)
HSVhsv(15, 83%, 49%)
CMYKcmyk(0%, 62.7%, 83.3%, 50.6%)
CIE-LABlab(30.70, 32.83, 33.06)
CIE-LCHlch(30.70, 46.59, 45.20°)
OKLaboklab(41.5% 0.0916 0.0713)
OKLCHoklch(41.5% 0.116 37.9)
XYZxyz(9.7571, 6.5242, 1.4548)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F15 #15647E
analogous
#7E1530 #7E2F15 #7E6415
triadic
#7E2F15 #157E2F #2F157E
tetradic
#7E2F15 #307E15 #15647E #64157E
square
#7E2F15 #307E15 #15647E #64157E
split-complementary
#7E2F15 #157E64 #15307E
monochromatic
#1A0A04 #4A1B0C #7E2F15 #B2431E #DD5B31

Accessibility & contrast

On white

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

On black

2.30
#7E2F15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7E2F15#FFFFFF#000000##FFFFFF
##7E2F151.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D11
Deuteranopia (green-blind)
#594F12
Tritanopia (blue-blind)
#8B1B2A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2f15;
/* rgb */ color: rgb(126, 47, 21);
/* oklch */ color: oklch(41.5% 0.116 37.9);
Tailwind
colors: {
  custom: {
    50: '#aa6b54',
    500: '#7e2f15',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f15;
$custom-light: #aa6b54;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f15",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 21
  },
  "hsl": {
    "h": 14.857,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41498,
    "c": 0.11609,
    "h": 37.9
  },
  "luminance": 0.06523
}

Semantic roles & 50–950 ramp

primary
#7E2F15
secondary
#3C96B3
accent
#C1EE3A
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#110703
muted
#807A78

Preview Lab

Preview with #7E2F15

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

Preview Lab → · Contrast checker → · Palette generator →

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