#7F291B#7F291B

#7F291B is a dark, vivid red. Relative luminance 0.062; OKLCH L 40.9% C 0.122 H 31.8°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#7F291B
RGBrgb(127, 41, 27)
HSLhsl(8, 65%, 30%)
HSVhsv(8, 79%, 50%)
CMYKcmyk(0%, 67.7%, 78.7%, 50.2%)
CIE-LABlab(29.86, 36.35, 28.92)
CIE-LCHlch(29.86, 46.45, 38.51°)
OKLaboklab(40.92% 0.1035 0.0641)
OKLCHoklch(40.92% 0.122 31.8)
XYZxyz(9.7442, 6.1784, 1.7162)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F291B #1B717F
analogous
#7F1B3F #7F291B #7F5B1B
triadic
#7F291B #1B7F29 #291B7F
tetradic
#7F291B #3F7F1B #1B717F #5B1B7F
square
#7F291B #3F7F1B #1B717F #5B1B7F
split-complementary
#7F291B #1B7F5B #1B3F7F
monochromatic
#1A0806 #4D1910 #7F291B #B13926 #D6543E

Accessibility & contrast

On white

9.39
#7F291B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7F291B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F291B
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F291B#FFFFFF#000000##FFFFFF
##7F291B1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A19
Deuteranopia (green-blind)
#574D18
Tritanopia (blue-blind)
#8C1126
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f291b;
/* rgb */ color: rgb(127, 41, 27);
/* oklch */ color: oklch(40.9% 0.122 31.8);
Tailwind
colors: {
  custom: {
    50: '#ab6758',
    500: '#7f291b',
    950: '#000000',
  },
}
SCSS
$custom: #7f291b;
$custom-light: #ab6758;
$custom-dark: #000000;
JSON
{
  "hex": "#7f291b",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 27
  },
  "hsl": {
    "h": 8.4,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.4092,
    "c": 0.12179,
    "h": 31.8
  },
  "luminance": 0.06177
}

Semantic roles & 50–950 ramp

primary
#7F291B
secondary
#43A3B3
accent
#D0E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F291B

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

Preview Lab → · Contrast checker → · Palette generator →

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