#7F2E1B#7F2E1B

#7F2E1B is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.6% C 0.117 H 34.5°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#7F2E1B
RGBrgb(127, 46, 27)
HSLhsl(11, 65%, 30%)
HSVhsv(11, 79%, 50%)
CMYKcmyk(0%, 63.8%, 78.7%, 50.2%)
CIE-LABlab(30.75, 33.96, 29.87)
CIE-LCHlch(30.75, 45.23, 41.33°)
OKLaboklab(41.59% 0.0961 0.0662)
OKLCHoklch(41.59% 0.117 34.5)
XYZxyz(9.9283, 6.5465, 1.7775)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2E1B #1B6C7F
analogous
#7F1B3A #7F2E1B #7F601B
triadic
#7F2E1B #1B7F2E #2E1B7F
tetradic
#7F2E1B #3A7F1B #1B6C7F #601B7F
square
#7F2E1B #3A7F1B #1B6C7F #601B7F
split-complementary
#7F2E1B #1B7F60 #1B3A7F
monochromatic
#1A0906 #4D1C10 #7F2E1B #B14026 #D65B3E

Accessibility & contrast

On white

9.09
#7F2E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7F2E1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2E1B
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2E1B#FFFFFF#000000##FFFFFF
##7F2E1B1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D18
Deuteranopia (green-blind)
#594F18
Tritanopia (blue-blind)
#8C1A2A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2e1b;
/* rgb */ color: rgb(127, 46, 27);
/* oklch */ color: oklch(41.6% 0.117 34.5);
Tailwind
colors: {
  custom: {
    50: '#ab6a58',
    500: '#7f2e1b',
    950: '#000000',
  },
}
SCSS
$custom: #7f2e1b;
$custom-light: #ab6a58;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2e1b",
  "rgb": {
    "r": 127,
    "g": 46,
    "b": 27
  },
  "hsl": {
    "h": 11.4,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41592,
    "c": 0.1167,
    "h": 34.5
  },
  "luminance": 0.06545
}

Semantic roles & 50–950 ramp

primary
#7F2E1B
secondary
#439EB3
accent
#C8E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7F2E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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