#6A1217#6A1217

#6A1217 is a dark, vivid red. Relative luminance 0.036; OKLCH L 34.4% C 0.121 H 23.8°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#6A1217
RGBrgb(106, 18, 23)
HSLhsl(357, 71%, 24%)
HSVhsv(357, 83%, 42%)
CMYKcmyk(0%, 83%, 78.3%, 58.4%)
CIE-LABlab(22.16, 38.04, 21.72)
CIE-LCHlch(22.16, 43.80, 29.72°)
OKLaboklab(34.37% 0.1107 0.0489)
OKLCHoklch(34.37% 0.121 23.8)
XYZxyz(6.3156, 3.5596, 1.1650)
Luminance0.0356 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1217 #126A65
analogous
#6A1243 #6A1217 #6A3912
triadic
#6A1217 #176A12 #12176A
tetradic
#6A1217 #436A12 #126A65 #39126A
square
#6A1217 #436A12 #126A65 #39126A
split-complementary
#6A1217 #126A39 #12436A
monochromatic
#1A0406 #36090C #6A1217 #9E1B22 #D3242E

Accessibility & contrast

On white

12.27
#6A1217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#6A1217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1217
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1217#FFFFFF#000000##FFFFFF
##6A12171.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2916
Deuteranopia (green-blind)
#433C14
Tritanopia (blue-blind)
#750015
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #6a1217;
/* rgb */ color: rgb(106, 18, 23);
/* oklch */ color: oklch(34.4% 0.121 23.8);
Tailwind
colors: {
  custom: {
    50: '#9c5954',
    500: '#6a1217',
    950: '#000000',
  },
}
SCSS
$custom: #6a1217;
$custom-light: #9c5954;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1217",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 23
  },
  "hsl": {
    "h": 356.591,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3437,
    "c": 0.12098,
    "h": 23.8
  },
  "luminance": 0.03559
}

Semantic roles & 50–950 ramp

primary
#6A1217
secondary
#36A29B
accent
#EEE43A
background
#FAF5F4
surface
#F4E9E7
border
#CEC5C3
text
#0F0402
muted
#7F7978

Preview Lab

Preview with #6A1217

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

Preview Lab → · Contrast checker → · Palette generator →

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