#6B271D#6B271D

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

Color values

HEX#6B271D
RGBrgb(107, 39, 29)
HSLhsl(8, 57%, 27%)
HSVhsv(8, 73%, 42%)
CMYKcmyk(0%, 63.6%, 72.9%, 58%)
CIE-LABlab(25.76, 29.69, 22.08)
CIE-LCHlch(25.76, 37.00, 36.64°)
OKLaboklab(37.13% 0.0856 0.0509)
OKLCHoklch(37.13% 0.1 30.7)
XYZxyz(7.0114, 4.6665, 1.6937)
Luminance0.0467 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B271D #1D616B
analogous
#6B1D3A #6B271D #6B4E1D
triadic
#6B271D #1D6B27 #271D6B
tetradic
#6B271D #3A6B1D #1D616B #4E1D6B
square
#6B271D #3A6B1D #1D616B #4E1D6B
split-complementary
#6B271D #1D6B4E #1D3A6B
monochromatic
#180907 #3B1510 #6B271D #9B392A #C94C39

Accessibility & contrast

On white

10.86
#6B271D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B271D
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B271D#FFFFFF#000000##FFFFFF
##6B271D1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39341C
Deuteranopia (green-blind)
#4A431B
Tritanopia (blue-blind)
#761825
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6b271d;
/* rgb */ color: rgb(107, 39, 29);
/* oklch */ color: oklch(37.1% 0.100 30.7);
Tailwind
colors: {
  custom: {
    50: '#9b6459',
    500: '#6b271d',
    950: '#000000',
  },
}
SCSS
$custom: #6b271d;
$custom-light: #9b6459;
$custom-dark: #000000;
JSON
{
  "hex": "#6b271d",
  "rgb": {
    "r": 107,
    "g": 39,
    "b": 29
  },
  "hsl": {
    "h": 7.692,
    "s": 57.353,
    "l": 26.667
  },
  "oklch": {
    "l": 0.37133,
    "c": 0.0996,
    "h": 30.7
  },
  "luminance": 0.04666
}

Semantic roles & 50–950 ramp

primary
#6B271D
secondary
#4494A0
accent
#CDE147
background
#FAF6F5
surface
#F3EBE9
border
#CDC6C5
text
#0F0603
muted
#7F7A78

Preview Lab

Preview with #6B271D

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

Preview Lab → · Contrast checker → · Palette generator →

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