#6C271F#6C271F

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

Color values

HEX#6C271F
RGBrgb(108, 39, 31)
HSLhsl(6, 55%, 27%)
HSVhsv(6, 71%, 42%)
CMYKcmyk(0%, 63.9%, 71.3%, 57.6%)
CIE-LABlab(25.98, 30.21, 21.11)
CIE-LCHlch(25.98, 36.85, 34.95°)
OKLaboklab(37.34% 0.0875 0.0491)
OKLCHoklch(37.34% 0.1 29.3)
XYZxyz(7.1579, 4.7391, 1.8339)
Luminance0.0474 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C271F #1F646C
analogous
#6C1F3D #6C271F #6C4E1F
triadic
#6C271F #1F6C27 #271F6C
tetradic
#6C271F #3D6C1F #1F646C #4E1F6C
square
#6C271F #3D6C1F #1F646C #4E1F6C
split-complementary
#6C271F #1F6C4E #1F3D6C
monochromatic
#180907 #3C1611 #6C271F #9C382D #C84C3E

Accessibility & contrast

On white

10.78
#6C271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#6C271F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C271F
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C271F#FFFFFF#000000##FFFFFF
##6C271F1.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c271f;
/* rgb */ color: rgb(108, 39, 31);
/* oklch */ color: oklch(37.3% 0.100 29.3);
Tailwind
colors: {
  custom: {
    50: '#9c645b',
    500: '#6c271f',
    950: '#000000',
  },
}
SCSS
$custom: #6c271f;
$custom-light: #9c645b;
$custom-dark: #000000;
JSON
{
  "hex": "#6c271f",
  "rgb": {
    "r": 108,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 6.234,
    "s": 55.396,
    "l": 27.255
  },
  "oklch": {
    "l": 0.37341,
    "c": 0.10037,
    "h": 29.3
  },
  "luminance": 0.04738
}

Semantic roles & 50–950 ramp

primary
#6C271F
secondary
#4797A0
accent
#CFDF49
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#0F0604
muted
#7F7A79

Preview Lab

Preview with #6C271F

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

Preview Lab → · Contrast checker → · Palette generator →

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