#7F342E#7F342E

#7F342E is a dark, moderate red. Relative luminance 0.072; OKLCH L 42.8% C 0.105 H 27.0°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#7F342E
RGBrgb(127, 52, 46)
HSLhsl(4, 47%, 34%)
HSVhsv(4, 64%, 50%)
CMYKcmyk(0%, 59.1%, 63.8%, 50.2%)
CIE-LABlab(32.18, 32.03, 20.00)
CIE-LCHlch(32.18, 37.76, 31.97°)
OKLaboklab(42.76% 0.094 0.0479)
OKLCHoklch(42.76% 0.106 27)
XYZxyz(10.4745, 7.1666, 3.4159)
Luminance0.0717 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F342E #2E797F
analogous
#7F2E51 #7F342E #7F5D2E
triadic
#7F342E #2E7F34 #342E7F
tetradic
#7F342E #517F2E #2E797F #5D2E7F
square
#7F342E #517F2E #2E797F #5D2E7F
split-complementary
#7F342E #2E7F5D #2E517F
monochromatic
#250F0D #52221E #7F342E #AC463E #C66961

Accessibility & contrast

On white

8.63
#7F342E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7F342E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F342E
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F342E#FFFFFF#000000##FFFFFF
##7F342E1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47422D
Deuteranopia (green-blind)
#5A522C
Tritanopia (blue-blind)
#8B2633
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f342e;
/* rgb */ color: rgb(127, 52, 46);
/* oklch */ color: oklch(42.8% 0.105 27.0);
Tailwind
colors: {
  custom: {
    50: '#a96e66',
    500: '#7f342e',
    950: '#000000',
  },
}
SCSS
$custom: #7f342e;
$custom-light: #a96e66;
$custom-dark: #000000;
JSON
{
  "hex": "#7f342e",
  "rgb": {
    "r": 127,
    "g": 52,
    "b": 46
  },
  "hsl": {
    "h": 4.444,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42761,
    "c": 0.1055,
    "h": 27
  },
  "luminance": 0.07165
}

Semantic roles & 50–950 ramp

primary
#7F342E
secondary
#5CA7AD
accent
#CDD651
background
#FAF6F6
surface
#F5ECEB
border
#CFC7C6
text
#110706
muted
#807A7A

Preview Lab

Preview with #7F342E

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

Preview Lab → · Contrast checker → · Palette generator →

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