#7F2915#7F2915

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

Color values

HEX#7F2915
RGBrgb(127, 41, 21)
HSLhsl(11, 72%, 29%)
HSVhsv(11, 83%, 50%)
CMYKcmyk(0%, 67.7%, 83.5%, 50.2%)
CIE-LABlab(29.80, 36.11, 32.25)
CIE-LCHlch(29.80, 48.42, 41.76°)
OKLaboklab(40.85% 0.1016 0.0695)
OKLCHoklch(40.85% 0.123 34.4)
XYZxyz(9.6818, 6.1535, 1.3873)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2915 #156B7F
analogous
#7F1536 #7F2915 #7F5E15
triadic
#7F2915 #157F29 #29157F
tetradic
#7F2915 #367F15 #156B7F #5E157F
square
#7F2915 #367F15 #156B7F #5E157F
split-complementary
#7F2915 #157F5E #15367F
monochromatic
#1A0804 #4A180C #7F2915 #B43A1E #DD5231

Accessibility & contrast

On white

9.42
#7F2915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2915
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2915#FFFFFF#000000##FFFFFF
##7F29151.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f2915;
/* rgb */ color: rgb(127, 41, 21);
/* oklch */ color: oklch(40.9% 0.123 34.4);
Tailwind
colors: {
  custom: {
    50: '#ac6754',
    500: '#7f2915',
    950: '#000000',
  },
}
SCSS
$custom: #7f2915;
$custom-light: #ac6754;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2915",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 21
  },
  "hsl": {
    "h": 11.321,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40853,
    "c": 0.12308,
    "h": 34.4
  },
  "luminance": 0.06152
}

Semantic roles & 50–950 ramp

primary
#7F2915
secondary
#3C9DB4
accent
#CCEE39
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#110603
muted
#807A78

Preview Lab

Preview with #7F2915

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

Preview Lab → · Contrast checker → · Palette generator →

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