#6B271A#6B271A

#6B271A is a dark, moderate red. Relative luminance 0.047; OKLCH L 37.1% C 0.100 H 32.7°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#6B271A
RGBrgb(107, 39, 26)
HSLhsl(10, 61%, 26%)
HSVhsv(10, 76%, 42%)
CMYKcmyk(0%, 63.6%, 75.7%, 58%)
CIE-LABlab(25.72, 29.51, 23.91)
CIE-LCHlch(25.72, 37.98, 39.01°)
OKLaboklab(37.09% 0.0844 0.0543)
OKLCHoklch(37.09% 0.1 32.7)
XYZxyz(6.9761, 4.6524, 1.5077)
Luminance0.0465 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B271A #1A5E6B
analogous
#6B1A35 #6B271A #6B4F1A
triadic
#6B271A #1A6B27 #271A6B
tetradic
#6B271A #356B1A #1A5E6B #4F1A6B
square
#6B271A #356B1A #1A5E6B #4F1A6B
split-complementary
#6B271A #1A6B4F #1A356B
monochromatic
#190906 #3A150E #6B271A #9C3926 #CD4B32

Accessibility & contrast

On white

10.88
#6B271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#6B271A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B271A
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B271A#FFFFFF#000000##FFFFFF
##6B271A1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3418
Deuteranopia (green-blind)
#4A4318
Tritanopia (blue-blind)
#761824
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6b271a;
/* rgb */ color: rgb(107, 39, 26);
/* oklch */ color: oklch(37.1% 0.100 32.7);
Tailwind
colors: {
  custom: {
    50: '#9b6457',
    500: '#6b271a',
    950: '#000000',
  },
}
SCSS
$custom: #6b271a;
$custom-light: #9b6457;
$custom-dark: #000000;
JSON
{
  "hex": "#6b271a",
  "rgb": {
    "r": 107,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 9.63,
    "s": 60.902,
    "l": 26.078
  },
  "oklch": {
    "l": 0.37088,
    "c": 0.10038,
    "h": 32.7
  },
  "luminance": 0.04651
}

Semantic roles & 50–950 ramp

primary
#6B271A
secondary
#4091A0
accent
#CAE444
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#0F0503
muted
#7F7A78

Preview Lab

Preview with #6B271A

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

Preview Lab → · Contrast checker → · Palette generator →

#6B271A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva