#7F342B#7F342B

#7F342B is a dark, moderate red. Relative luminance 0.071; OKLCH L 42.7% C 0.106 H 29.1°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#7F342B
RGBrgb(127, 52, 43)
HSLhsl(6, 49%, 33%)
HSVhsv(6, 66%, 50%)
CMYKcmyk(0%, 59.1%, 66.1%, 50.2%)
CIE-LABlab(32.13, 31.82, 21.82)
CIE-LCHlch(32.13, 38.58, 34.44°)
OKLaboklab(42.71% 0.0928 0.0517)
OKLCHoklch(42.71% 0.106 29.1)
XYZxyz(10.4174, 7.1437, 3.1153)
Luminance0.0714 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F342B #2B767F
analogous
#7F2B4C #7F342B #7F5E2B
triadic
#7F342B #2B7F34 #342B7F
tetradic
#7F342B #4C7F2B #2B767F #5E2B7F
square
#7F342B #4C7F2B #2B767F #5E2B7F
split-complementary
#7F342B #2B7F5E #2B4C7F
monochromatic
#240F0C #51211C #7F342B #AD473A #C8685C

Accessibility & contrast

On white

8.65
#7F342B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F342B
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F342B#FFFFFF#000000##FFFFFF
##7F342B1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47422A
Deuteranopia (green-blind)
#5A5229
Tritanopia (blue-blind)
#8B2532
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f342b;
/* rgb */ color: rgb(127, 52, 43);
/* oklch */ color: oklch(42.7% 0.106 29.1);
Tailwind
colors: {
  custom: {
    50: '#a96e64',
    500: '#7f342b',
    950: '#000000',
  },
}
SCSS
$custom: #7f342b;
$custom-light: #a96e64;
$custom-dark: #000000;
JSON
{
  "hex": "#7f342b",
  "rgb": {
    "r": 127,
    "g": 52,
    "b": 43
  },
  "hsl": {
    "h": 6.429,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42706,
    "c": 0.10616,
    "h": 29.1
  },
  "luminance": 0.07142
}

Semantic roles & 50–950 ramp

primary
#7F342B
secondary
#58A5AE
accent
#CAD94F
background
#FBF6F6
surface
#F6ECEB
border
#D0C7C6
text
#110705
muted
#807A7A

Preview Lab

Preview with #7F342B

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

Preview Lab → · Contrast checker → · Palette generator →

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