#7E2C18#7E2C18

#7E2C18 is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.1% C 0.118 H 34.9°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#7E2C18
RGBrgb(126, 44, 24)
HSLhsl(12, 68%, 29%)
HSVhsv(12, 81%, 49%)
CMYKcmyk(0%, 65.1%, 81%, 50.6%)
CIE-LABlab(30.17, 34.43, 30.90)
CIE-LCHlch(30.17, 46.26, 41.91°)
OKLaboklab(41.11% 0.0971 0.0676)
OKLCHoklch(41.11% 0.118 34.9)
XYZxyz(9.6708, 6.3043, 1.5716)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2C18 #186A7E
analogous
#7E1837 #7E2C18 #7E5F18
triadic
#7E2C18 #187E2C #2C187E
tetradic
#7E2C18 #377E18 #186A7E #5F187E
square
#7E2C18 #377E18 #186A7E #5F187E
split-complementary
#7E2C18 #187E5F #18377E
monochromatic
#1A0905 #4B1A0E #7E2C18 #B13E22 #D95737

Accessibility & contrast

On white

9.29
#7E2C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7E2C18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2C18
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2C18#FFFFFF#000000##FFFFFF
##7E2C181.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C15
Deuteranopia (green-blind)
#574E15
Tritanopia (blue-blind)
#8B1728
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2c18;
/* rgb */ color: rgb(126, 44, 24);
/* oklch */ color: oklch(41.1% 0.118 34.9);
Tailwind
colors: {
  custom: {
    50: '#aa6956',
    500: '#7e2c18',
    950: '#000000',
  },
}
SCSS
$custom: #7e2c18;
$custom-light: #aa6956;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2c18",
  "rgb": {
    "r": 126,
    "g": 44,
    "b": 24
  },
  "hsl": {
    "h": 11.765,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.41107,
    "c": 0.1183,
    "h": 34.9
  },
  "luminance": 0.06303
}

Semantic roles & 50–950 ramp

primary
#7E2C18
secondary
#3F9CB2
accent
#C9EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7E2C18

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

Preview Lab → · Contrast checker → · Palette generator →

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