#7F2819#7F2819

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

Color values

HEX#7F2819
RGBrgb(127, 40, 25)
HSLhsl(9, 67%, 30%)
HSVhsv(9, 80%, 50%)
CMYKcmyk(0%, 68.5%, 80.3%, 50.2%)
CIE-LABlab(29.67, 36.72, 29.88)
CIE-LCHlch(29.67, 47.34, 39.14°)
OKLaboklab(40.77% 0.1043 0.0656)
OKLCHoklch(40.77% 0.123 32.2)
XYZxyz(9.6877, 6.1012, 1.5870)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2819 #19707F
analogous
#7F193D #7F2819 #7F5B19
triadic
#7F2819 #197F28 #28197F
tetradic
#7F2819 #3D7F19 #19707F #5B197F
square
#7F2819 #3D7F19 #19707F #5B197F
split-complementary
#7F2819 #197F5B #193D7F
monochromatic
#1A0805 #4C180F #7F2819 #B23823 #D8513A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F2819#FFFFFF#000000##FFFFFF
##7F28191.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)
#413A17
Deuteranopia (green-blind)
#564D16
Tritanopia (blue-blind)
#8C0E25
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f2819;
/* rgb */ color: rgb(127, 40, 25);
/* oklch */ color: oklch(40.8% 0.123 32.2);
Tailwind
colors: {
  custom: {
    50: '#ab6757',
    500: '#7f2819',
    950: '#000000',
  },
}
SCSS
$custom: #7f2819;
$custom-light: #ab6757;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2819",
  "rgb": {
    "r": 127,
    "g": 40,
    "b": 25
  },
  "hsl": {
    "h": 8.824,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40768,
    "c": 0.12322,
    "h": 32.2
  },
  "luminance": 0.061
}

Semantic roles & 50–950 ramp

primary
#7F2819
secondary
#41A2B3
accent
#D1EA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F2819

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

Preview Lab → · Contrast checker → · Palette generator →

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