#7F2815#7F2815

#7F2815 is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.7% C 0.124 H 33.9°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#7F2815
RGBrgb(127, 40, 21)
HSLhsl(11, 72%, 29%)
HSVhsv(11, 83%, 50%)
CMYKcmyk(0%, 68.5%, 83.5%, 50.2%)
CIE-LABlab(29.63, 36.57, 32.08)
CIE-LCHlch(29.63, 48.65, 41.26°)
OKLaboklab(40.73% 0.103 0.0691)
OKLCHoklch(40.73% 0.124 33.9)
XYZxyz(9.6476, 6.0852, 1.3759)
Luminance0.0608 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2815 #156C7F
analogous
#7F1537 #7F2815 #7F5D15
triadic
#7F2815 #157F28 #28157F
tetradic
#7F2815 #377F15 #156C7F #5D157F
square
#7F2815 #377F15 #156C7F #5D157F
split-complementary
#7F2815 #157F5D #15377F
monochromatic
#1A0804 #4A170C #7F2815 #B4391E #DD5031

Accessibility & contrast

On white

9.47
#7F2815 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2815
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2815#FFFFFF#000000##FFFFFF
##7F28151.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f2815;
/* rgb */ color: rgb(127, 40, 21);
/* oklch */ color: oklch(40.7% 0.124 33.9);
Tailwind
colors: {
  custom: {
    50: '#ac6754',
    500: '#7f2815',
    950: '#000000',
  },
}
SCSS
$custom: #7f2815;
$custom-light: #ac6754;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2815",
  "rgb": {
    "r": 127,
    "g": 40,
    "b": 21
  },
  "hsl": {
    "h": 10.755,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40726,
    "c": 0.12405,
    "h": 33.9
  },
  "luminance": 0.06084
}

Semantic roles & 50–950 ramp

primary
#7F2815
secondary
#3C9EB4
accent
#CEEE39
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120603
muted
#817A78

Preview Lab

Preview with #7F2815

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

Preview Lab → · Contrast checker → · Palette generator →

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