#7F342F#7F342F

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

Color values

HEX#7F342F
RGBrgb(127, 52, 47)
HSLhsl(4, 46%, 34%)
HSVhsv(4, 63%, 50%)
CMYKcmyk(0%, 59.1%, 63%, 50.2%)
CIE-LABlab(32.20, 32.11, 19.39)
CIE-LCHlch(32.20, 37.51, 31.12°)
OKLaboklab(42.78% 0.0944 0.0466)
OKLCHoklch(42.78% 0.105 26.3)
XYZxyz(10.4944, 7.1746, 3.5210)
Luminance0.0717 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F342F #2F7A7F
analogous
#7F2F52 #7F342F #7F5C2F
triadic
#7F342F #2F7F34 #342F7F
tetradic
#7F342F #527F2F #2F7A7F #5C2F7F
square
#7F342F #527F2F #2F7A7F #5C2F7F
split-complementary
#7F342F #2F7F5C #2F527F
monochromatic
#260F0E #52221E #7F342F #AC4640 #C56963

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F342F#FFFFFF#000000##FFFFFF
##7F342F1.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)
#47422E
Deuteranopia (green-blind)
#59522D
Tritanopia (blue-blind)
#8B2633
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f342f;
/* rgb */ color: rgb(127, 52, 47);
/* oklch */ color: oklch(42.8% 0.105 26.3);
Tailwind
colors: {
  custom: {
    50: '#a96e67',
    500: '#7f342f',
    950: '#000000',
  },
}
SCSS
$custom: #7f342f;
$custom-light: #a96e67;
$custom-dark: #000000;
JSON
{
  "hex": "#7f342f",
  "rgb": {
    "r": 127,
    "g": 52,
    "b": 47
  },
  "hsl": {
    "h": 3.75,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4278,
    "c": 0.1053,
    "h": 26.3
  },
  "luminance": 0.07173
}

Semantic roles & 50–950 ramp

primary
#7F342F
secondary
#5EA7AC
accent
#CDD652
background
#FAF6F6
surface
#F5ECEB
border
#CFC7C6
text
#110706
muted
#807A7A

Preview Lab

Preview with #7F342F

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

Preview Lab → · Contrast checker → · Palette generator →

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