#7F281A#7F281A

#7F281A is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.8% C 0.123 H 31.7°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#7F281A
RGBrgb(127, 40, 26)
HSLhsl(8, 66%, 30%)
HSVhsv(8, 80%, 50%)
CMYKcmyk(0%, 68.5%, 79.5%, 50.2%)
CIE-LABlab(29.68, 36.76, 29.31)
CIE-LCHlch(29.68, 47.02, 38.57°)
OKLaboklab(40.78% 0.1046 0.0647)
OKLCHoklch(40.78% 0.123 31.7)
XYZxyz(9.6987, 6.1056, 1.6449)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F281A #1A717F
analogous
#7F1A3E #7F281A #7F5B1A
triadic
#7F281A #1A7F28 #281A7F
tetradic
#7F281A #3E7F1A #1A717F #5B1A7F
square
#7F281A #3E7F1A #1A717F #5B1A7F
split-complementary
#7F281A #1A7F5B #1A3E7F
monochromatic
#190805 #4C1810 #7F281A #B23824 #D7523C

Accessibility & contrast

On white

9.46
#7F281A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7F281A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F281A
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F281A#FFFFFF#000000##FFFFFF
##7F281A1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A18
Deuteranopia (green-blind)
#564D17
Tritanopia (blue-blind)
#8C0F25
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f281a;
/* rgb */ color: rgb(127, 40, 26);
/* oklch */ color: oklch(40.8% 0.123 31.7);
Tailwind
colors: {
  custom: {
    50: '#ab6757',
    500: '#7f281a',
    950: '#000000',
  },
}
SCSS
$custom: #7f281a;
$custom-light: #ab6757;
$custom-dark: #000000;
JSON
{
  "hex": "#7f281a",
  "rgb": {
    "r": 127,
    "g": 40,
    "b": 26
  },
  "hsl": {
    "h": 8.317,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.4078,
    "c": 0.123,
    "h": 31.7
  },
  "luminance": 0.06104
}

Semantic roles & 50–950 ramp

primary
#7F281A
secondary
#42A3B3
accent
#D1E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F281A

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

Preview Lab → · Contrast checker → · Palette generator →

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