#7E2D22#7E2D22

#7E2D22 is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.4% C 0.115 H 30.4°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#7E2D22
RGBrgb(126, 45, 34)
HSLhsl(7, 58%, 31%)
HSVhsv(7, 73%, 49%)
CMYKcmyk(0%, 64.3%, 73%, 50.6%)
CIE-LABlab(30.47, 34.41, 25.35)
CIE-LCHlch(30.47, 42.74, 36.38°)
OKLaboklab(41.37% 0.0991 0.0581)
OKLCHoklch(41.37% 0.115 30.4)
XYZxyz(9.8323, 6.4292, 2.2363)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D22 #22737E
analogous
#7E2245 #7E2D22 #7E5B22
triadic
#7E2D22 #227E2D #2D227E
tetradic
#7E2D22 #457E22 #22737E #5B227E
square
#7E2D22 #457E22 #22737E #5B227E
split-complementary
#7E2D22 #227E5B #22457E
monochromatic
#1E0B08 #4E1C15 #7E2D22 #AE3E2F #CF5B4C

Accessibility & contrast

On white

9.19
#7E2D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7E2D22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2D22
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D22#FFFFFF#000000##FFFFFF
##7E2D221.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433D20
Deuteranopia (green-blind)
#574E20
Tritanopia (blue-blind)
#8B1A2B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2d22;
/* rgb */ color: rgb(126, 45, 34);
/* oklch */ color: oklch(41.4% 0.115 30.4);
Tailwind
colors: {
  custom: {
    50: '#aa6a5d',
    500: '#7e2d22',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d22;
$custom-light: #aa6a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d22",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 34
  },
  "hsl": {
    "h": 7.174,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41374,
    "c": 0.11487,
    "h": 30.4
  },
  "luminance": 0.06428
}

Semantic roles & 50–950 ramp

primary
#7E2D22
secondary
#4BA4B1
accent
#CEE147
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7E2D22

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

Preview Lab → · Contrast checker → · Palette generator →

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