#6A271F#6A271F

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

Color values

HEX#6A271F
RGBrgb(106, 39, 31)
HSLhsl(6, 55%, 27%)
HSVhsv(6, 71%, 42%)
CMYKcmyk(0%, 63.2%, 70.8%, 58.4%)
CIE-LABlab(25.61, 29.41, 20.58)
CIE-LCHlch(25.61, 35.89, 34.98°)
OKLaboklab(36.99% 0.0853 0.048)
OKLCHoklch(36.99% 0.098 29.4)
XYZxyz(6.9174, 4.6151, 1.8226)
Luminance0.0461 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A271F #1F626A
analogous
#6A1F3D #6A271F #6A4D1F
triadic
#6A271F #1F6A27 #271F6A
tetradic
#6A271F #3D6A1F #1F626A #4D1F6A
square
#6A271F #3D6A1F #1F626A #4D1F6A
split-complementary
#6A271F #1F6A4D #1F3D6A
monochromatic
#180907 #3B1611 #6A271F #99382D #C64C3D

Accessibility & contrast

On white

10.92
#6A271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A271F
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A271F#FFFFFF#000000##FFFFFF
##6A271F1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a271f;
/* rgb */ color: rgb(106, 39, 31);
/* oklch */ color: oklch(37.0% 0.098 29.4);
Tailwind
colors: {
  custom: {
    50: '#9a645a',
    500: '#6a271f',
    950: '#000000',
  },
}
SCSS
$custom: #6a271f;
$custom-light: #9a645a;
$custom-dark: #000000;
JSON
{
  "hex": "#6a271f",
  "rgb": {
    "r": 106,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 6.4,
    "s": 54.745,
    "l": 26.863
  },
  "oklch": {
    "l": 0.36991,
    "c": 0.09787,
    "h": 29.4
  },
  "luminance": 0.04614
}

Semantic roles & 50–950 ramp

primary
#6A271F
secondary
#47959E
accent
#CEDE4A
background
#FAF6F5
surface
#F3EBE9
border
#CDC6C5
text
#0F0504
muted
#7F7A79

Preview Lab

Preview with #6A271F

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

Preview Lab → · Contrast checker → · Palette generator →

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