#7F2810#7F2810

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

Color values

HEX#7F2810
RGBrgb(127, 40, 16)
HSLhsl(13, 78%, 28%)
HSVhsv(13, 87%, 50%)
CMYKcmyk(0%, 68.5%, 87.4%, 50.2%)
CIE-LABlab(29.58, 36.41, 34.64)
CIE-LCHlch(29.58, 50.26, 43.57°)
OKLaboklab(40.68% 0.1016 0.0729)
OKLCHoklch(40.68% 0.125 35.6)
XYZxyz(9.6058, 6.0685, 1.1556)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2810 #10677F
analogous
#7F102F #7F2810 #7F5F10
triadic
#7F2810 #107F28 #28107F
tetradic
#7F2810 #2F7F10 #10677F #5F107F
square
#7F2810 #2F7F10 #10677F #5F107F
split-complementary
#7F2810 #107F5F #102F7F
monochromatic
#1B0903 #491709 #7F2810 #B53917 #E44F26

Accessibility & contrast

On white

9.49
#7F2810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7F2810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2810
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2810#FFFFFF#000000##FFFFFF
##7F28101.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390C
Deuteranopia (green-blind)
#574D0B
Tritanopia (blue-blind)
#8C0D24
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f2810;
/* rgb */ color: rgb(127, 40, 16);
/* oklch */ color: oklch(40.7% 0.125 35.6);
Tailwind
colors: {
  custom: {
    50: '#ac6751',
    500: '#7f2810',
    950: '#000000',
  },
}
SCSS
$custom: #7f2810;
$custom-light: #ac6751;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2810",
  "rgb": {
    "r": 127,
    "g": 40,
    "b": 16
  },
  "hsl": {
    "h": 12.973,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40681,
    "c": 0.12506,
    "h": 35.6
  },
  "luminance": 0.06067
}

Semantic roles & 50–950 ramp

primary
#7F2810
secondary
#369AB5
accent
#CBF434
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #7F2810

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

Preview Lab → · Contrast checker → · Palette generator →

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