#7E2E2F#7E2E2F

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

Color values

HEX#7E2E2F
RGBrgb(126, 46, 47)
HSLhsl(359, 47%, 34%)
HSVhsv(359, 63%, 49%)
CMYKcmyk(0%, 63.5%, 62.7%, 50.6%)
CIE-LABlab(30.87, 34.77, 17.64)
CIE-LCHlch(30.87, 38.99, 26.91°)
OKLaboklab(41.74% 0.1029 0.0427)
OKLCHoklch(41.74% 0.111 22.5)
XYZxyz(10.0952, 6.5962, 3.4304)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E2F #2E7E7D
analogous
#7E2E57 #7E2E2F #7E552E
triadic
#7E2E2F #2F7E2E #2E2F7E
tetradic
#7E2E2F #577E2E #2E7E7D #552E7E
square
#7E2E2F #577E2E #2E7E7D #552E7E
split-complementary
#7E2E2F #2E7E55 #2E577E
monochromatic
#240D0E #511E1E #7E2E2F #AB3E40 #C56162

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E2E2F#FFFFFF#000000##FFFFFF
##7E2E2F1.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)
#423E2E
Deuteranopia (green-blind)
#564F2D
Tritanopia (blue-blind)
#8A1E2F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2e2f;
/* rgb */ color: rgb(126, 46, 47);
/* oklch */ color: oklch(41.7% 0.111 22.5);
Tailwind
colors: {
  custom: {
    50: '#a96b67',
    500: '#7e2e2f',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e2f;
$custom-light: #a96b67;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e2f",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 47
  },
  "hsl": {
    "h": 359.25,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41743,
    "c": 0.11139,
    "h": 22.5
  },
  "luminance": 0.06595
}

Semantic roles & 50–950 ramp

primary
#7E2E2F
secondary
#5CACAB
accent
#D6D452
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110706
muted
#807A7A

Preview Lab

Preview with #7E2E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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