#7E2F22#7E2F22

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

Color values

HEX#7E2F22
RGBrgb(126, 47, 34)
HSLhsl(8, 58%, 31%)
HSVhsv(8, 73%, 49%)
CMYKcmyk(0%, 62.7%, 73%, 50.6%)
CIE-LABlab(30.84, 33.42, 25.78)
CIE-LCHlch(30.84, 42.21, 37.65°)
OKLaboklab(41.66% 0.096 0.059)
OKLCHoklch(41.66% 0.113 31.6)
XYZxyz(9.9104, 6.5855, 2.2623)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F22 #22717E
analogous
#7E2243 #7E2F22 #7E5D22
triadic
#7E2F22 #227E2F #2F227E
tetradic
#7E2F22 #437E22 #22717E #5D227E
square
#7E2F22 #437E22 #22717E #5D227E
split-complementary
#7E2F22 #227E5D #22437E
monochromatic
#1E0B08 #4E1D15 #7E2F22 #AE412F #CF5E4C

Accessibility & contrast

On white

9.06
#7E2F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7E2F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2F22
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F22#FFFFFF#000000##FFFFFF
##7E2F221.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443E20
Deuteranopia (green-blind)
#584F20
Tritanopia (blue-blind)
#8B1D2C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2f22;
/* rgb */ color: rgb(126, 47, 34);
/* oklch */ color: oklch(41.7% 0.113 31.6);
Tailwind
colors: {
  custom: {
    50: '#a96b5d',
    500: '#7e2f22',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f22;
$custom-light: #a96b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f22",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 34
  },
  "hsl": {
    "h": 8.478,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41655,
    "c": 0.11272,
    "h": 31.6
  },
  "luminance": 0.06584
}

Semantic roles & 50–950 ramp

primary
#7E2F22
secondary
#4BA2B1
accent
#CBE147
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7E2F22

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

Preview Lab → · Contrast checker → · Palette generator →

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