#7F342A#7F342A

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

Color values

HEX#7F342A
RGBrgb(127, 52, 42)
HSLhsl(7, 50%, 33%)
HSVhsv(7, 67%, 50%)
CMYKcmyk(0%, 59.1%, 66.9%, 50.2%)
CIE-LABlab(32.12, 31.75, 22.42)
CIE-LCHlch(32.12, 38.87, 35.23°)
OKLaboklab(42.69% 0.0923 0.0529)
OKLCHoklch(42.69% 0.106 29.8)
XYZxyz(10.3993, 7.1365, 3.0199)
Luminance0.0713 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F342A #2A757F
analogous
#7F2A4A #7F342A #7F5E2A
triadic
#7F342A #2A7F34 #342A7F
tetradic
#7F342A #4A7F2A #2A757F #5E2A7F
square
#7F342A #4A7F2A #2A757F #5E2A7F
split-complementary
#7F342A #2A7F5E #2A4A7F
monochromatic
#230E0C #51211B #7F342A #AD4739 #C9685B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F342A#FFFFFF#000000##FFFFFF
##7F342A1.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)
#474129
Deuteranopia (green-blind)
#5A5228
Tritanopia (blue-blind)
#8B2532
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f342a;
/* rgb */ color: rgb(127, 52, 42);
/* oklch */ color: oklch(42.7% 0.106 29.8);
Tailwind
colors: {
  custom: {
    50: '#a96e63',
    500: '#7f342a',
    950: '#000000',
  },
}
SCSS
$custom: #7f342a;
$custom-light: #a96e63;
$custom-dark: #000000;
JSON
{
  "hex": "#7f342a",
  "rgb": {
    "r": 127,
    "g": 52,
    "b": 42
  },
  "hsl": {
    "h": 7.059,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42688,
    "c": 0.1064,
    "h": 29.8
  },
  "luminance": 0.07135
}

Semantic roles & 50–950 ramp

primary
#7F342A
secondary
#57A4AE
accent
#C9DA4E
background
#FBF6F5
surface
#F6ECEA
border
#D0C7C6
text
#110705
muted
#807A79

Preview Lab

Preview with #7F342A

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

Preview Lab → · Contrast checker → · Palette generator →

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