#7F291C#7F291C

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

Color values

HEX#7F291C
RGBrgb(127, 41, 28)
HSLhsl(8, 64%, 30%)
HSVhsv(8, 78%, 50%)
CMYKcmyk(0%, 67.7%, 78%, 50.2%)
CIE-LABlab(29.87, 36.39, 28.34)
CIE-LCHlch(29.87, 46.13, 37.91°)
OKLaboklab(40.93% 0.1039 0.0631)
OKLCHoklch(40.93% 0.122 31.3)
XYZxyz(9.7560, 6.1832, 1.7781)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F291C #1C727F
analogous
#7F1C40 #7F291C #7F5A1C
triadic
#7F291C #1C7F29 #291C7F
tetradic
#7F291C #407F1C #1C727F #5A1C7F
square
#7F291C #407F1C #1C727F #5A1C7F
split-complementary
#7F291C #1C7F5A #1C407F
monochromatic
#1B0906 #4D1911 #7F291C #B13927 #D55440

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F291C#FFFFFF#000000##FFFFFF
##7F291C1.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)
#413A1A
Deuteranopia (green-blind)
#574D19
Tritanopia (blue-blind)
#8C1127
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f291c;
/* rgb */ color: rgb(127, 41, 28);
/* oklch */ color: oklch(40.9% 0.122 31.3);
Tailwind
colors: {
  custom: {
    50: '#ab6859',
    500: '#7f291c',
    950: '#000000',
  },
}
SCSS
$custom: #7f291c;
$custom-light: #ab6859;
$custom-dark: #000000;
JSON
{
  "hex": "#7f291c",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 28
  },
  "hsl": {
    "h": 7.879,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40932,
    "c": 0.12157,
    "h": 31.3
  },
  "luminance": 0.06182
}

Semantic roles & 50–950 ramp

primary
#7F291C
secondary
#44A4B3
accent
#D1E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F291C

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

Preview Lab → · Contrast checker → · Palette generator →

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