#7E2F2E#7E2F2E

#7E2F2E is a dark, moderate red. Relative luminance 0.067; OKLCH L 41.9% C 0.110 H 23.8°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#7E2F2E
RGBrgb(126, 47, 46)
HSLhsl(1, 47%, 34%)
HSVhsv(1, 63%, 49%)
CMYKcmyk(0%, 62.7%, 63.5%, 50.6%)
CIE-LABlab(31.04, 34.20, 18.50)
CIE-LCHlch(31.04, 38.88, 28.41°)
OKLaboklab(41.86% 0.1009 0.0445)
OKLCHoklch(41.86% 0.11 23.8)
XYZxyz(10.1148, 6.6672, 3.3385)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F2E #2E7D7E
analogous
#7E2E55 #7E2F2E #7E572E
triadic
#7E2F2E #2E7E2F #2F2E7E
tetradic
#7E2F2E #557E2E #2E7D7E #572E7E
square
#7E2F2E #557E2E #2E7D7E #572E7E
split-complementary
#7E2F2E #2E7E57 #2E557E
monochromatic
#240E0D #511E1E #7E2F2E #AB403E #C56261

Accessibility & contrast

On white

9.00
#7E2F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E2F2E
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F2E#FFFFFF#000000##FFFFFF
##7E2F2E1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433F2D
Deuteranopia (green-blind)
#574F2C
Tritanopia (blue-blind)
#8A202F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2f2e;
/* rgb */ color: rgb(126, 47, 46);
/* oklch */ color: oklch(41.9% 0.110 23.8);
Tailwind
colors: {
  custom: {
    50: '#a96b66',
    500: '#7e2f2e',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f2e;
$custom-light: #a96b66;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f2e",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 46
  },
  "hsl": {
    "h": 0.75,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41863,
    "c": 0.1103,
    "h": 23.8
  },
  "luminance": 0.06666
}

Semantic roles & 50–950 ramp

primary
#7E2F2E
secondary
#5CABAC
accent
#D4D652
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110706
muted
#807A7A

Preview Lab

Preview with #7E2F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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