#6A1127#6A1127

#6A1127 is a dark, vivid red. Relative luminance 0.036; OKLCH L 34.6% C 0.122 H 12.9°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#6A1127
RGBrgb(106, 17, 39)
HSLhsl(345, 72%, 24%)
HSVhsv(345, 84%, 42%)
CMYKcmyk(0%, 84%, 63.2%, 58.4%)
CIE-LABlab(22.35, 39.30, 11.04)
CIE-LCHlch(22.35, 40.82, 15.69°)
OKLaboklab(34.61% 0.1184 0.0272)
OKLCHoklch(34.61% 0.122 12.9)
XYZxyz(6.5112, 3.6125, 2.2735)
Luminance0.0361 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1127 #116A54
analogous
#6A1154 #6A1127 #6A2811
triadic
#6A1127 #276A11 #11276A
tetradic
#6A1127 #546A11 #116A54 #28116A
square
#6A1127 #546A11 #116A54 #28116A
split-complementary
#6A1127 #116A28 #11546A
monochromatic
#1A040A #350914 #6A1127 #9F193A #D3224E

Accessibility & contrast

On white

12.19
#6A1127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#6A1127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1127
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1127#FFFFFF#000000##FFFFFF
##6A11271.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2A27
Deuteranopia (green-blind)
#413C25
Tritanopia (blue-blind)
#75001B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #6a1127;
/* rgb */ color: rgb(106, 17, 39);
/* oklch */ color: oklch(34.6% 0.122 12.9);
Tailwind
colors: {
  custom: {
    50: '#9b5a60',
    500: '#6a1127',
    950: '#000000',
  },
}
SCSS
$custom: #6a1127;
$custom-light: #9b5a60;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1127",
  "rgb": {
    "r": 106,
    "g": 17,
    "b": 39
  },
  "hsl": {
    "h": 345.169,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.34606,
    "c": 0.12153,
    "h": 12.9
  },
  "luminance": 0.03612
}

Semantic roles & 50–950 ramp

primary
#6A1127
secondary
#35A287
accent
#EFC239
background
#FAF5F5
surface
#F3E9E9
border
#CDC5C5
text
#0F0405
muted
#7F7979

Preview Lab

Preview with #6A1127

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

Preview Lab → · Contrast checker → · Palette generator →

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