#7F2C1D#7F2C1D

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

Color values

HEX#7F2C1D
RGBrgb(127, 44, 29)
HSLhsl(9, 63%, 31%)
HSVhsv(9, 77%, 50%)
CMYKcmyk(0%, 65.4%, 77.2%, 50.2%)
CIE-LABlab(30.41, 35.03, 28.34)
CIE-LCHlch(30.41, 45.05, 38.98°)
OKLaboklab(41.34% 0.0998 0.0634)
OKLCHoklch(41.34% 0.118 32.4)
XYZxyz(9.8759, 6.4035, 1.8781)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2C1D #1D707F
analogous
#7F1D3F #7F2C1D #7F5D1D
triadic
#7F2C1D #1D7F2C #2C1D7F
tetradic
#7F2C1D #3F7F1D #1D707F #5D1D7F
square
#7F2C1D #3F7F1D #1D707F #5D1D7F
split-complementary
#7F2C1D #1D7F5D #1D3F7F
monochromatic
#1B0906 #4D1B12 #7F2C1D #B13D28 #D45942

Accessibility & contrast

On white

9.21
#7F2C1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2C1D
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2C1D#FFFFFF#000000##FFFFFF
##7F2C1D1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f2c1d;
/* rgb */ color: rgb(127, 44, 29);
/* oklch */ color: oklch(41.3% 0.118 32.4);
Tailwind
colors: {
  custom: {
    50: '#ab695a',
    500: '#7f2c1d',
    950: '#000000',
  },
}
SCSS
$custom: #7f2c1d;
$custom-light: #ab695a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2c1d",
  "rgb": {
    "r": 127,
    "g": 44,
    "b": 29
  },
  "hsl": {
    "h": 9.184,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41341,
    "c": 0.11826,
    "h": 32.4
  },
  "luminance": 0.06402
}

Semantic roles & 50–950 ramp

primary
#7F2C1D
secondary
#45A2B2
accent
#CDE642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F2C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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