#6B271E#6B271E

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

Color values

HEX#6B271E
RGBrgb(107, 39, 30)
HSLhsl(7, 56%, 27%)
HSVhsv(7, 72%, 42%)
CMYKcmyk(0%, 63.6%, 72%, 58%)
CIE-LABlab(25.78, 29.75, 21.46)
CIE-LCHlch(25.78, 36.68, 35.81°)
OKLaboklab(37.15% 0.086 0.0498)
OKLCHoklch(37.15% 0.099 30)
XYZxyz(7.0240, 4.6715, 1.7599)
Luminance0.0467 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B271E #1E626B
analogous
#6B1E3C #6B271E #6B4E1E
triadic
#6B271E #1E6B27 #271E6B
tetradic
#6B271E #3C6B1E #1E626B #4E1E6B
square
#6B271E #3C6B1E #1E626B #4E1E6B
split-complementary
#6B271E #1E6B4E #1E3C6B
monochromatic
#180907 #3B1611 #6B271E #9B382B #C84C3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B271E#FFFFFF#000000##FFFFFF
##6B271E1.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)
#39341D
Deuteranopia (green-blind)
#4A431C
Tritanopia (blue-blind)
#761825
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6b271e;
/* rgb */ color: rgb(107, 39, 30);
/* oklch */ color: oklch(37.1% 0.099 30.0);
Tailwind
colors: {
  custom: {
    50: '#9b645a',
    500: '#6b271e',
    950: '#000000',
  },
}
SCSS
$custom: #6b271e;
$custom-light: #9b645a;
$custom-dark: #000000;
JSON
{
  "hex": "#6b271e",
  "rgb": {
    "r": 107,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 7.013,
    "s": 56.204,
    "l": 26.863
  },
  "oklch": {
    "l": 0.37149,
    "c": 0.09936,
    "h": 30
  },
  "luminance": 0.04671
}

Semantic roles & 50–950 ramp

primary
#6B271E
secondary
#45959F
accent
#CEDF48
background
#FAF6F5
surface
#F3EBE9
border
#CDC6C5
text
#0F0603
muted
#7F7A78

Preview Lab

Preview with #6B271E

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

Preview Lab → · Contrast checker → · Palette generator →

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