#6B271B#6B271B

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

Color values

HEX#6B271B
RGBrgb(107, 39, 27)
HSLhsl(9, 60%, 26%)
HSVhsv(9, 75%, 42%)
CMYKcmyk(0%, 63.6%, 74.8%, 58%)
CIE-LABlab(25.73, 29.57, 23.30)
CIE-LCHlch(25.73, 37.65, 38.24°)
OKLaboklab(37.1% 0.0848 0.0532)
OKLCHoklch(37.1% 0.1 32.1)
XYZxyz(6.9875, 4.6569, 1.5676)
Luminance0.0466 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B271B #1B5F6B
analogous
#6B1B37 #6B271B #6B4F1B
triadic
#6B271B #1B6B27 #271B6B
tetradic
#6B271B #376B1B #1B5F6B #4F1B6B
square
#6B271B #376B1B #1B5F6B #4F1B6B
split-complementary
#6B271B #1B6B4F #1B376B
monochromatic
#180906 #3A150F #6B271B #9C3927 #CC4B35

Accessibility & contrast

On white

10.87
#6B271B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B271B
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B271B#FFFFFF#000000##FFFFFF
##6B271B1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b271b;
/* rgb */ color: rgb(107, 39, 27);
/* oklch */ color: oklch(37.1% 0.100 32.1);
Tailwind
colors: {
  custom: {
    50: '#9b6458',
    500: '#6b271b',
    950: '#000000',
  },
}
SCSS
$custom: #6b271b;
$custom-light: #9b6458;
$custom-dark: #000000;
JSON
{
  "hex": "#6b271b",
  "rgb": {
    "r": 107,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 9,
    "s": 59.701,
    "l": 26.275
  },
  "oklch": {
    "l": 0.37103,
    "c": 0.10011,
    "h": 32.1
  },
  "luminance": 0.04656
}

Semantic roles & 50–950 ramp

primary
#6B271B
secondary
#4292A0
accent
#CBE345
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#0F0503
muted
#7F7A78

Preview Lab

Preview with #6B271B

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

Preview Lab → · Contrast checker → · Palette generator →

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