#7F2D1A#7F2D1A

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

Color values

HEX#7F2D1A
RGBrgb(127, 45, 26)
HSLhsl(11, 66%, 30%)
HSVhsv(11, 80%, 50%)
CMYKcmyk(0%, 64.6%, 79.5%, 50.2%)
CIE-LABlab(30.56, 34.41, 30.24)
CIE-LCHlch(30.56, 45.81, 41.31°)
OKLaboklab(41.44% 0.0973 0.0667)
OKLCHoklch(41.44% 0.118 34.4)
XYZxyz(9.8783, 6.4648, 1.7047)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2D1A #1A6C7F
analogous
#7F1A3A #7F2D1A #7F5F1A
triadic
#7F2D1A #1A7F2D #2D1A7F
tetradic
#7F2D1A #3A7F1A #1A6C7F #5F1A7F
square
#7F2D1A #3A7F1A #1A6C7F #5F1A7F
split-complementary
#7F2D1A #1A7F5F #1A3A7F
monochromatic
#190905 #4C1B10 #7F2D1A #B23F24 #D7593C

Accessibility & contrast

On white

9.16
#7F2D1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7F2D1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2D1A
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2D1A#FFFFFF#000000##FFFFFF
##7F2D1A1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443D17
Deuteranopia (green-blind)
#584F17
Tritanopia (blue-blind)
#8C1829
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2d1a;
/* rgb */ color: rgb(127, 45, 26);
/* oklch */ color: oklch(41.4% 0.118 34.4);
Tailwind
colors: {
  custom: {
    50: '#ab6a58',
    500: '#7f2d1a',
    950: '#000000',
  },
}
SCSS
$custom: #7f2d1a;
$custom-light: #ab6a58;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2d1a",
  "rgb": {
    "r": 127,
    "g": 45,
    "b": 26
  },
  "hsl": {
    "h": 11.287,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.41441,
    "c": 0.11796,
    "h": 34.4
  },
  "luminance": 0.06463
}

Semantic roles & 50–950 ramp

primary
#7F2D1A
secondary
#429EB3
accent
#C9E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7F2D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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