#7F2E16#7F2E16

#7F2E16 is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.5% C 0.118 H 36.7°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#7F2E16
RGBrgb(127, 46, 22)
HSLhsl(14, 70%, 29%)
HSVhsv(14, 83%, 50%)
CMYKcmyk(0%, 63.8%, 82.7%, 50.2%)
CIE-LABlab(30.70, 33.76, 32.59)
CIE-LCHlch(30.70, 46.92, 43.99°)
OKLaboklab(41.54% 0.0945 0.0706)
OKLCHoklch(41.54% 0.118 36.7)
XYZxyz(9.8753, 6.5253, 1.4984)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2E16 #16677F
analogous
#7F1633 #7F2E16 #7F6316
triadic
#7F2E16 #167F2E #2E167F
tetradic
#7F2E16 #337F16 #16677F #63167F
square
#7F2E16 #337F16 #16677F #63167F
split-complementary
#7F2E16 #167F63 #16337F
monochromatic
#1A0905 #4B1B0D #7F2E16 #B3411F #DC5A34

Accessibility & contrast

On white

9.11
#7F2E16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7F2E16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2E16
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2E16#FFFFFF#000000##FFFFFF
##7F2E161.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D13
Deuteranopia (green-blind)
#594F13
Tritanopia (blue-blind)
#8C1929
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2e16;
/* rgb */ color: rgb(127, 46, 22);
/* oklch */ color: oklch(41.5% 0.118 36.7);
Tailwind
colors: {
  custom: {
    50: '#ab6a55',
    500: '#7f2e16',
    950: '#000000',
  },
}
SCSS
$custom: #7f2e16;
$custom-light: #ab6a55;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2e16",
  "rgb": {
    "r": 127,
    "g": 46,
    "b": 22
  },
  "hsl": {
    "h": 13.714,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41538,
    "c": 0.11796,
    "h": 36.7
  },
  "luminance": 0.06524
}

Semantic roles & 50–950 ramp

primary
#7F2E16
secondary
#3D99B4
accent
#C4ED3B
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7F2E16

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

Preview Lab → · Contrast checker → · Palette generator →

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