#6B271F#6B271F

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

Color values

HEX#6B271F
RGBrgb(107, 39, 31)
HSLhsl(6, 55%, 27%)
HSVhsv(6, 71%, 42%)
CMYKcmyk(0%, 63.6%, 71%, 58%)
CIE-LABlab(25.79, 29.81, 20.84)
CIE-LCHlch(25.79, 36.37, 34.96°)
OKLaboklab(37.17% 0.0864 0.0486)
OKLCHoklch(37.17% 0.099 29.3)
XYZxyz(7.0369, 4.6767, 1.8282)
Luminance0.0468 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B271F #1F636B
analogous
#6B1F3D #6B271F #6B4D1F
triadic
#6B271F #1F6B27 #271F6B
tetradic
#6B271F #3D6B1F #1F636B #4D1F6B
square
#6B271F #3D6B1F #1F636B #4D1F6B
split-complementary
#6B271F #1F6B4D #1F3D6B
monochromatic
#180907 #3C1611 #6B271F #9A382D #C74C3D

Accessibility & contrast

On white

10.85
#6B271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#6B271F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B271F
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B271F#FFFFFF#000000##FFFFFF
##6B271F1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b271f;
/* rgb */ color: rgb(107, 39, 31);
/* oklch */ color: oklch(37.2% 0.099 29.3);
Tailwind
colors: {
  custom: {
    50: '#9b645b',
    500: '#6b271f',
    950: '#000000',
  },
}
SCSS
$custom: #6b271f;
$custom-light: #9b645b;
$custom-dark: #000000;
JSON
{
  "hex": "#6b271f",
  "rgb": {
    "r": 107,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 6.316,
    "s": 55.072,
    "l": 27.059
  },
  "oklch": {
    "l": 0.37166,
    "c": 0.09912,
    "h": 29.3
  },
  "luminance": 0.04676
}

Semantic roles & 50–950 ramp

primary
#6B271F
secondary
#47969F
accent
#CFDE49
background
#FAF6F5
surface
#F3EBE9
border
#CDC6C5
text
#0F0604
muted
#7F7A79

Preview Lab

Preview with #6B271F

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

Preview Lab → · Contrast checker → · Palette generator →

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