#7F2E1C#7F2E1C

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

Color values

HEX#7F2E1C
RGBrgb(127, 46, 28)
HSLhsl(11, 64%, 30%)
HSVhsv(11, 78%, 50%)
CMYKcmyk(0%, 63.8%, 78%, 50.2%)
CIE-LABlab(30.76, 34.01, 29.31)
CIE-LCHlch(30.76, 44.89, 40.75°)
OKLaboklab(41.6% 0.0965 0.0652)
OKLCHoklch(41.6% 0.116 34.1)
XYZxyz(9.9401, 6.5512, 1.8395)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2E1C #1C6D7F
analogous
#7F1C3B #7F2E1C #7F5F1C
triadic
#7F2E1C #1C7F2E #2E1C7F
tetradic
#7F2E1C #3B7F1C #1C6D7F #5F1C7F
square
#7F2E1C #3B7F1C #1C6D7F #5F1C7F
split-complementary
#7F2E1C #1C7F5F #1C3B7F
monochromatic
#1B0A06 #4D1C11 #7F2E1C #B14027 #D55B40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F2E1C#FFFFFF#000000##FFFFFF
##7F2E1C1.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)
#453D1A
Deuteranopia (green-blind)
#594F19
Tritanopia (blue-blind)
#8C1A2A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2e1c;
/* rgb */ color: rgb(127, 46, 28);
/* oklch */ color: oklch(41.6% 0.116 34.1);
Tailwind
colors: {
  custom: {
    50: '#ab6a59',
    500: '#7f2e1c',
    950: '#000000',
  },
}
SCSS
$custom: #7f2e1c;
$custom-light: #ab6a59;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2e1c",
  "rgb": {
    "r": 127,
    "g": 46,
    "b": 28
  },
  "hsl": {
    "h": 10.909,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41604,
    "c": 0.11645,
    "h": 34.1
  },
  "luminance": 0.0655
}

Semantic roles & 50–950 ramp

primary
#7F2E1C
secondary
#449FB3
accent
#C9E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7F2E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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