#7E2F20#7E2F20

#7E2F20 is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.6% C 0.113 H 32.7°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#7E2F20
RGBrgb(126, 47, 32)
HSLhsl(10, 59%, 31%)
HSVhsv(10, 75%, 49%)
CMYKcmyk(0%, 62.7%, 74.6%, 50.6%)
CIE-LABlab(30.82, 33.31, 26.96)
CIE-LCHlch(30.82, 42.86, 38.98°)
OKLaboklab(41.63% 0.0953 0.0612)
OKLCHoklch(41.63% 0.113 32.7)
XYZxyz(9.8824, 6.5743, 2.1148)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F20 #206F7E
analogous
#7E2040 #7E2F20 #7E5E20
triadic
#7E2F20 #207E2F #2F207E
tetradic
#7E2F20 #407E20 #206F7E #5E207E
square
#7E2F20 #407E20 #206F7E #5E207E
split-complementary
#7E2F20 #207E5E #20407E
monochromatic
#1C0B07 #4D1D14 #7E2F20 #AF412C #D05E48

Accessibility & contrast

On white

9.07
#7E2F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2F20
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F20#FFFFFF#000000##FFFFFF
##7E2F201.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E1E
Deuteranopia (green-blind)
#584F1E
Tritanopia (blue-blind)
#8B1D2C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2f20;
/* rgb */ color: rgb(126, 47, 32);
/* oklch */ color: oklch(41.6% 0.113 32.7);
Tailwind
colors: {
  custom: {
    50: '#aa6b5c',
    500: '#7e2f20',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f20;
$custom-light: #aa6b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f20",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 32
  },
  "hsl": {
    "h": 9.574,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41626,
    "c": 0.11321,
    "h": 32.7
  },
  "luminance": 0.06573
}

Semantic roles & 50–950 ramp

primary
#7E2F20
secondary
#49A0B1
accent
#CAE345
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7E2F20

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

Preview Lab → · Contrast checker → · Palette generator →

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