#7F342D#7F342D

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

Color values

HEX#7F342D
RGBrgb(127, 52, 45)
HSLhsl(5, 48%, 34%)
HSVhsv(5, 65%, 50%)
CMYKcmyk(0%, 59.1%, 64.6%, 50.2%)
CIE-LABlab(32.17, 31.96, 20.60)
CIE-LCHlch(32.17, 38.02, 32.81°)
OKLaboklab(42.74% 0.0936 0.0492)
OKLCHoklch(42.74% 0.106 27.7)
XYZxyz(10.4550, 7.1588, 3.3133)
Luminance0.0716 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F342D #2D787F
analogous
#7F2D4F #7F342D #7F5D2D
triadic
#7F342D #2D7F34 #342D7F
tetradic
#7F342D #4F7F2D #2D787F #5D2D7F
square
#7F342D #4F7F2D #2D787F #5D2D7F
split-complementary
#7F342D #2D7F5D #2D4F7F
monochromatic
#250F0D #52211D #7F342D #AC473D #C76960

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F342D#FFFFFF#000000##FFFFFF
##7F342D1.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)
#47422C
Deuteranopia (green-blind)
#5A522B
Tritanopia (blue-blind)
#8B2633
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f342d;
/* rgb */ color: rgb(127, 52, 45);
/* oklch */ color: oklch(42.7% 0.106 27.7);
Tailwind
colors: {
  custom: {
    50: '#a96e66',
    500: '#7f342d',
    950: '#000000',
  },
}
SCSS
$custom: #7f342d;
$custom-light: #a96e66;
$custom-dark: #000000;
JSON
{
  "hex": "#7f342d",
  "rgb": {
    "r": 127,
    "g": 52,
    "b": 45
  },
  "hsl": {
    "h": 5.122,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42742,
    "c": 0.10571,
    "h": 27.7
  },
  "luminance": 0.07157
}

Semantic roles & 50–950 ramp

primary
#7F342D
secondary
#5BA6AD
accent
#CCD751
background
#FBF6F6
surface
#F6ECEB
border
#D0C7C6
text
#110705
muted
#807A7A

Preview Lab

Preview with #7F342D

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

Preview Lab → · Contrast checker → · Palette generator →

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