#6A271C#6A271C

#6A271C is a dark, moderate red. Relative luminance 0.046; OKLCH L 36.9% C 0.099 H 31.5°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#6A271C
RGBrgb(106, 39, 28)
HSLhsl(8, 58%, 26%)
HSVhsv(8, 74%, 42%)
CMYKcmyk(0%, 63.2%, 73.6%, 58.4%)
CIE-LABlab(25.56, 29.22, 22.43)
CIE-LCHlch(25.56, 36.84, 37.51°)
OKLaboklab(36.94% 0.0841 0.0516)
OKLCHoklch(36.94% 0.099 31.5)
XYZxyz(6.8797, 4.6000, 1.6240)
Luminance0.0460 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A271C #1C5F6A
analogous
#6A1C38 #6A271C #6A4E1C
triadic
#6A271C #1C6A27 #271C6A
tetradic
#6A271C #386A1C #1C5F6A #4E1C6A
square
#6A271C #386A1C #1C5F6A #4E1C6A
split-complementary
#6A271C #1C6A4E #1C386A
monochromatic
#180906 #3A150F #6A271C #9A3929 #CA4B36

Accessibility & contrast

On white

10.94
#6A271C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A271C
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A271C#FFFFFF#000000##FFFFFF
##6A271C1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39331B
Deuteranopia (green-blind)
#4A421A
Tritanopia (blue-blind)
#751825
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6a271c;
/* rgb */ color: rgb(106, 39, 28);
/* oklch */ color: oklch(36.9% 0.099 31.5);
Tailwind
colors: {
  custom: {
    50: '#9a6458',
    500: '#6a271c',
    950: '#000000',
  },
}
SCSS
$custom: #6a271c;
$custom-light: #9a6458;
$custom-dark: #000000;
JSON
{
  "hex": "#6a271c",
  "rgb": {
    "r": 106,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 8.462,
    "s": 58.209,
    "l": 26.275
  },
  "oklch": {
    "l": 0.36943,
    "c": 0.09862,
    "h": 31.5
  },
  "luminance": 0.04599
}

Semantic roles & 50–950 ramp

primary
#6A271C
secondary
#43929F
accent
#CCE146
background
#FAF6F5
surface
#F3EBE9
border
#CDC6C5
text
#0F0503
muted
#7F7A78

Preview Lab

Preview with #6A271C

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

Preview Lab → · Contrast checker → · Palette generator →

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