#6C271B#6C271B

#6C271B is a dark, moderate red. Relative luminance 0.047; OKLCH L 37.3% C 0.101 H 32.0°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#6C271B
RGBrgb(108, 39, 27)
HSLhsl(9, 60%, 26%)
HSVhsv(9, 75%, 42%)
CMYKcmyk(0%, 63.9%, 75%, 57.6%)
CIE-LABlab(25.92, 29.97, 23.56)
CIE-LCHlch(25.92, 38.12, 38.17°)
OKLaboklab(37.28% 0.0859 0.0537)
OKLCHoklch(37.28% 0.101 32)
XYZxyz(7.1084, 4.7193, 1.5733)
Luminance0.0472 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C271B #1B606C
analogous
#6C1B38 #6C271B #6C501B
triadic
#6C271B #1B6C27 #271B6C
tetradic
#6C271B #386C1B #1B606C #501B6C
square
#6C271B #386C1B #1B606C #501B6C
split-complementary
#6C271B #1B6C50 #1B386C
monochromatic
#180906 #3B150F #6C271B #9D3927 #CC4B35

Accessibility & contrast

On white

10.80
#6C271B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C271B
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C271B#FFFFFF#000000##FFFFFF
##6C271B1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3419
Deuteranopia (green-blind)
#4B4319
Tritanopia (blue-blind)
#771724
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6c271b;
/* rgb */ color: rgb(108, 39, 27);
/* oklch */ color: oklch(37.3% 0.101 32.0);
Tailwind
colors: {
  custom: {
    50: '#9c6458',
    500: '#6c271b',
    950: '#000000',
  },
}
SCSS
$custom: #6c271b;
$custom-light: #9c6458;
$custom-dark: #000000;
JSON
{
  "hex": "#6c271b",
  "rgb": {
    "r": 108,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 8.889,
    "s": 60,
    "l": 26.471
  },
  "oklch": {
    "l": 0.37278,
    "c": 0.10134,
    "h": 32
  },
  "luminance": 0.04718
}

Semantic roles & 50–950 ramp

primary
#6C271B
secondary
#4293A1
accent
#CCE345
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#0F0603
muted
#7F7A78

Preview Lab

Preview with #6C271B

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

Preview Lab → · Contrast checker → · Palette generator →

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