#7F342C#7F342C

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

Color values

HEX#7F342C
RGBrgb(127, 52, 44)
HSLhsl(6, 49%, 34%)
HSVhsv(6, 65%, 50%)
CMYKcmyk(0%, 59.1%, 65.4%, 50.2%)
CIE-LABlab(32.15, 31.89, 21.21)
CIE-LCHlch(32.15, 38.30, 33.63°)
OKLaboklab(42.72% 0.0932 0.0504)
OKLCHoklch(42.72% 0.106 28.4)
XYZxyz(10.4360, 7.1512, 3.2131)
Luminance0.0715 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F342C #2C777F
analogous
#7F2C4D #7F342C #7F5D2C
triadic
#7F342C #2C7F34 #342C7F
tetradic
#7F342C #4D7F2C #2C777F #5D2C7F
square
#7F342C #4D7F2C #2C777F #5D2C7F
split-complementary
#7F342C #2C7F5D #2C4D7F
monochromatic
#240F0D #52211C #7F342C #AC473C #C7685E

Accessibility & contrast

On white

8.64
#7F342C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F342C
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F342C#FFFFFF#000000##FFFFFF
##7F342C1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47422B
Deuteranopia (green-blind)
#5A522A
Tritanopia (blue-blind)
#8B2632
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f342c;
/* rgb */ color: rgb(127, 52, 44);
/* oklch */ color: oklch(42.7% 0.106 28.4);
Tailwind
colors: {
  custom: {
    50: '#a96e65',
    500: '#7f342c',
    950: '#000000',
  },
}
SCSS
$custom: #7f342c;
$custom-light: #a96e65;
$custom-dark: #000000;
JSON
{
  "hex": "#7f342c",
  "rgb": {
    "r": 127,
    "g": 52,
    "b": 44
  },
  "hsl": {
    "h": 5.783,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42724,
    "c": 0.10593,
    "h": 28.4
  },
  "luminance": 0.0715
}

Semantic roles & 50–950 ramp

primary
#7F342C
secondary
#59A5AD
accent
#CBD850
background
#FBF6F6
surface
#F6ECEB
border
#D0C7C6
text
#110705
muted
#807A7A

Preview Lab

Preview with #7F342C

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

Preview Lab → · Contrast checker → · Palette generator →

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