#6A1226#6A1226

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

Color values

HEX#6A1226
RGBrgb(106, 18, 38)
HSLhsl(346, 71%, 24%)
HSVhsv(346, 83%, 42%)
CMYKcmyk(0%, 83%, 64.2%, 58.4%)
CIE-LABlab(22.44, 38.91, 11.86)
CIE-LCHlch(22.44, 40.68, 16.94°)
OKLaboklab(34.66% 0.117 0.029)
OKLCHoklch(34.66% 0.121 13.9)
XYZxyz(6.5107, 3.6377, 2.1927)
Luminance0.0364 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1226 #126A56
analogous
#6A1252 #6A1226 #6A2A12
triadic
#6A1226 #266A12 #12266A
tetradic
#6A1226 #526A12 #126A56 #2A126A
square
#6A1226 #526A12 #126A56 #2A126A
split-complementary
#6A1226 #126A2A #12526A
monochromatic
#1A0409 #360913 #6A1226 #9E1B39 #D3244C

Accessibility & contrast

On white

12.16
#6A1226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#6A1226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1226
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1226#FFFFFF#000000##FFFFFF
##6A12261.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2A26
Deuteranopia (green-blind)
#423C24
Tritanopia (blue-blind)
#75001B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #6a1226;
/* rgb */ color: rgb(106, 18, 38);
/* oklch */ color: oklch(34.7% 0.121 13.9);
Tailwind
colors: {
  custom: {
    50: '#9b5a60',
    500: '#6a1226',
    950: '#000000',
  },
}
SCSS
$custom: #6a1226;
$custom-light: #9b5a60;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1226",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 38
  },
  "hsl": {
    "h": 346.364,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34664,
    "c": 0.12054,
    "h": 13.9
  },
  "luminance": 0.03637
}

Semantic roles & 50–950 ramp

primary
#6A1226
secondary
#36A289
accent
#EEC53A
background
#FAF5F5
surface
#F3E9E9
border
#CDC5C5
text
#0F0404
muted
#7F7979

Preview Lab

Preview with #6A1226

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

Preview Lab → · Contrast checker → · Palette generator →

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