#7F2C1B#7F2C1B

#7F2C1B is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.3% C 0.119 H 33.4°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#7F2C1B
RGBrgb(127, 44, 27)
HSLhsl(10, 65%, 30%)
HSVhsv(10, 79%, 50%)
CMYKcmyk(0%, 65.4%, 78.7%, 50.2%)
CIE-LABlab(30.39, 34.94, 29.48)
CIE-LCHlch(30.39, 45.71, 40.16°)
OKLaboklab(41.32% 0.0992 0.0653)
OKLCHoklch(41.32% 0.119 33.4)
XYZxyz(9.8520, 6.3939, 1.7521)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2C1B #1B6E7F
analogous
#7F1B3C #7F2C1B #7F5E1B
triadic
#7F2C1B #1B7F2C #2C1B7F
tetradic
#7F2C1B #3C7F1B #1B6E7F #5E1B7F
square
#7F2C1B #3C7F1B #1B6E7F #5E1B7F
split-complementary
#7F2C1B #1B7F5E #1B3C7F
monochromatic
#1A0906 #4D1B10 #7F2C1B #B13D26 #D6583E

Accessibility & contrast

On white

9.22
#7F2C1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7F2C1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2C1B
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2C1B#FFFFFF#000000##FFFFFF
##7F2C1B1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C19
Deuteranopia (green-blind)
#584E18
Tritanopia (blue-blind)
#8C1729
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2c1b;
/* rgb */ color: rgb(127, 44, 27);
/* oklch */ color: oklch(41.3% 0.119 33.4);
Tailwind
colors: {
  custom: {
    50: '#ab6958',
    500: '#7f2c1b',
    950: '#000000',
  },
}
SCSS
$custom: #7f2c1b;
$custom-light: #ab6958;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2c1b",
  "rgb": {
    "r": 127,
    "g": 44,
    "b": 27
  },
  "hsl": {
    "h": 10.2,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41316,
    "c": 0.11874,
    "h": 33.4
  },
  "luminance": 0.06393
}

Semantic roles & 50–950 ramp

primary
#7F2C1B
secondary
#43A0B3
accent
#CBE840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F2C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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