#7B271E#7B271E

#7B271E is a dark, moderate red. Relative luminance 0.058; OKLCH L 40.0% C 0.119 H 29.4°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#7B271E
RGBrgb(123, 39, 30)
HSLhsl(6, 61%, 30%)
HSVhsv(6, 76%, 48%)
CMYKcmyk(0%, 68.3%, 75.6%, 51.8%)
CIE-LABlab(28.79, 35.92, 25.73)
CIE-LCHlch(28.79, 44.18, 35.62°)
OKLaboklab(39.99% 0.1033 0.0582)
OKLCHoklch(39.99% 0.119 29.4)
XYZxyz(9.1292, 5.7570, 1.8586)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B271E #1E727B
analogous
#7B1E44 #7B271E #7B551E
triadic
#7B271E #1E7B27 #271E7B
tetradic
#7B271E #447B1E #1E727B #551E7B
square
#7B271E #447B1E #1E727B #551E7B
split-complementary
#7B271E #1E7B55 #1E447B
monochromatic
#190806 #4A1712 #7B271E #AC372A #D15042

Accessibility & contrast

On white

9.76
#7B271E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7B271E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B271E
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B271E#FFFFFF#000000##FFFFFF
##7B271E1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E381C
Deuteranopia (green-blind)
#534B1B
Tritanopia (blue-blind)
#881025
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b271e;
/* rgb */ color: rgb(123, 39, 30);
/* oklch */ color: oklch(40.0% 0.119 29.4);
Tailwind
colors: {
  custom: {
    50: '#a8665a',
    500: '#7b271e',
    950: '#000000',
  },
}
SCSS
$custom: #7b271e;
$custom-light: #a8665a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b271e",
  "rgb": {
    "r": 123,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 5.806,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.39987,
    "c": 0.11859,
    "h": 29.4
  },
  "luminance": 0.05756
}

Semantic roles & 50–950 ramp

primary
#7B271E
secondary
#46A4AE
accent
#D4E444
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7B271E

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

Preview Lab → · Contrast checker → · Palette generator →

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