#6A271E#6A271E

#6A271E is a dark, moderate red. Relative luminance 0.046; OKLCH L 37.0% C 0.098 H 30.1°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#6A271E
RGBrgb(106, 39, 30)
HSLhsl(7, 56%, 27%)
HSVhsv(7, 72%, 42%)
CMYKcmyk(0%, 63.2%, 71.7%, 58.4%)
CIE-LABlab(25.59, 29.34, 21.20)
CIE-LCHlch(25.59, 36.20, 35.84°)
OKLaboklab(36.98% 0.0849 0.0492)
OKLCHoklch(36.98% 0.098 30.1)
XYZxyz(6.9044, 4.6099, 1.7543)
Luminance0.0461 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A271E #1E616A
analogous
#6A1E3B #6A271E #6A4D1E
triadic
#6A271E #1E6A27 #271E6A
tetradic
#6A271E #3B6A1E #1E616A #4D1E6A
square
#6A271E #3B6A1E #1E616A #4D1E6A
split-complementary
#6A271E #1E6A4D #1E3B6A
monochromatic
#180907 #3A1511 #6A271E #9A392C #C74C3B

Accessibility & contrast

On white

10.93
#6A271E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#6A271E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A271E
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A271E#FFFFFF#000000##FFFFFF
##6A271E1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39341D
Deuteranopia (green-blind)
#49421C
Tritanopia (blue-blind)
#751925
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6a271e;
/* rgb */ color: rgb(106, 39, 30);
/* oklch */ color: oklch(37.0% 0.098 30.1);
Tailwind
colors: {
  custom: {
    50: '#9a645a',
    500: '#6a271e',
    950: '#000000',
  },
}
SCSS
$custom: #6a271e;
$custom-light: #9a645a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a271e",
  "rgb": {
    "r": 106,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 7.105,
    "s": 55.882,
    "l": 26.667
  },
  "oklch": {
    "l": 0.36975,
    "c": 0.09811,
    "h": 30.1
  },
  "luminance": 0.04609
}

Semantic roles & 50–950 ramp

primary
#6A271E
secondary
#45949E
accent
#CDDF49
background
#FAF6F5
surface
#F3EBE9
border
#CDC6C5
text
#0F0503
muted
#7F7A78

Preview Lab

Preview with #6A271E

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

Preview Lab → · Contrast checker → · Palette generator →

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