#7F2F2E#7F2F2E

#7F2F2E is a dark, moderate red. Relative luminance 0.067; OKLCH L 42.0% C 0.112 H 23.9°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#7F2F2E
RGBrgb(127, 47, 46)
HSLhsl(1, 47%, 34%)
HSVhsv(1, 64%, 50%)
CMYKcmyk(0%, 63%, 63.8%, 50.2%)
CIE-LABlab(31.22, 34.58, 18.77)
CIE-LCHlch(31.22, 39.34, 28.49°)
OKLaboklab(42.03% 0.102 0.0451)
OKLCHoklch(42.03% 0.112 23.9)
XYZxyz(10.2630, 6.7437, 3.3455)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2F2E #2E7E7F
analogous
#7F2E56 #7F2F2E #7F582E
triadic
#7F2F2E #2E7F2F #2F2E7F
tetradic
#7F2F2E #567F2E #2E7E7F #582E7F
square
#7F2F2E #567F2E #2E7E7F #582E7F
split-complementary
#7F2F2E #2E7F58 #2E567F
monochromatic
#250E0D #521E1E #7F2F2E #AC403E #C66361

Accessibility & contrast

On white

8.94
#7F2F2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7F2F2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2F2E
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2F2E#FFFFFF#000000##FFFFFF
##7F2F2E1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433F2D
Deuteranopia (green-blind)
#57502C
Tritanopia (blue-blind)
#8B1F2F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2f2e;
/* rgb */ color: rgb(127, 47, 46);
/* oklch */ color: oklch(42.0% 0.112 23.9);
Tailwind
colors: {
  custom: {
    50: '#a96b66',
    500: '#7f2f2e',
    950: '#000000',
  },
}
SCSS
$custom: #7f2f2e;
$custom-light: #a96b66;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2f2e",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 46
  },
  "hsl": {
    "h": 0.741,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42032,
    "c": 0.11151,
    "h": 23.9
  },
  "luminance": 0.06742
}

Semantic roles & 50–950 ramp

primary
#7F2F2E
secondary
#5CACAD
accent
#D5D651
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110706
muted
#807A7A

Preview Lab

Preview with #7F2F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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