#7E2F2B#7E2F2B

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

Color values

HEX#7E2F2B
RGBrgb(126, 47, 43)
HSLhsl(3, 49%, 33%)
HSVhsv(3, 66%, 49%)
CMYKcmyk(0%, 62.7%, 65.9%, 50.6%)
CIE-LABlab(30.98, 33.98, 20.35)
CIE-LCHlch(30.98, 39.61, 30.91°)
OKLaboklab(41.81% 0.0996 0.0484)
OKLCHoklch(41.81% 0.111 25.9)
XYZxyz(10.0577, 6.6444, 3.0379)
Luminance0.0664 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F2B #2B7A7E
analogous
#7E2B50 #7E2F2B #7E582B
triadic
#7E2F2B #2B7E2F #2F2B7E
tetradic
#7E2F2B #507E2B #2B7A7E #582B7E
square
#7E2F2B #507E2B #2B7A7E #582B7E
split-complementary
#7E2F2B #2B7E58 #2B507E
monochromatic
#230D0C #501E1B #7E2F2B #AC403B #C7615C

Accessibility & contrast

On white

9.02
#7E2F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7E2F2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2F2B
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F2B#FFFFFF#000000##FFFFFF
##7E2F2B1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433E2A
Deuteranopia (green-blind)
#574F29
Tritanopia (blue-blind)
#8A1F2F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2f2b;
/* rgb */ color: rgb(126, 47, 43);
/* oklch */ color: oklch(41.8% 0.111 25.9);
Tailwind
colors: {
  custom: {
    50: '#a96b64',
    500: '#7e2f2b',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f2b;
$custom-light: #a96b64;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f2b",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 43
  },
  "hsl": {
    "h": 2.892,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41805,
    "c": 0.11077,
    "h": 25.9
  },
  "luminance": 0.06643
}

Semantic roles & 50–950 ramp

primary
#7E2F2B
secondary
#58A9AD
accent
#D2D94F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110705
muted
#807A7A

Preview Lab

Preview with #7E2F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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