#7F2916#7F2916

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

Color values

HEX#7F2916
RGBrgb(127, 41, 22)
HSLhsl(11, 70%, 29%)
HSVhsv(11, 83%, 50%)
CMYKcmyk(0%, 67.7%, 82.7%, 50.2%)
CIE-LABlab(29.81, 36.15, 31.71)
CIE-LCHlch(29.81, 48.09, 41.26°)
OKLaboklab(40.86% 0.1019 0.0686)
OKLCHoklch(40.86% 0.123 34)
XYZxyz(9.6912, 6.1573, 1.4371)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2916 #166C7F
analogous
#7F1638 #7F2916 #7F5E16
triadic
#7F2916 #167F29 #29167F
tetradic
#7F2916 #387F16 #166C7F #5E167F
square
#7F2916 #387F16 #166C7F #5E167F
split-complementary
#7F2916 #167F5E #16387F
monochromatic
#1A0805 #4B180D #7F2916 #B33A1F #DC5234

Accessibility & contrast

On white

9.41
#7F2916 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7F2916 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2916
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2916#FFFFFF#000000##FFFFFF
##7F29161.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A13
Deuteranopia (green-blind)
#574D12
Tritanopia (blue-blind)
#8C1025
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f2916;
/* rgb */ color: rgb(127, 41, 22);
/* oklch */ color: oklch(40.9% 0.123 34.0);
Tailwind
colors: {
  custom: {
    50: '#ac6755',
    500: '#7f2916',
    950: '#000000',
  },
}
SCSS
$custom: #7f2916;
$custom-light: #ac6755;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2916",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 22
  },
  "hsl": {
    "h": 10.857,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40863,
    "c": 0.12286,
    "h": 34
  },
  "luminance": 0.06156
}

Semantic roles & 50–950 ramp

primary
#7F2916
secondary
#3D9EB4
accent
#CDED3B
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#110603
muted
#807A78

Preview Lab

Preview with #7F2916

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

Preview Lab → · Contrast checker → · Palette generator →

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