#6A1228#6A1228

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

Color values

HEX#6A1228
RGBrgb(106, 18, 40)
HSLhsl(345, 71%, 24%)
HSVhsv(345, 83%, 42%)
CMYKcmyk(0%, 83%, 62.3%, 58.4%)
CIE-LABlab(22.48, 39.06, 10.53)
CIE-LCHlch(22.48, 40.45, 15.09°)
OKLaboklab(34.71% 0.1179 0.0261)
OKLCHoklch(34.71% 0.121 12.5)
XYZxyz(6.5438, 3.6510, 2.3672)
Luminance0.0365 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1228 #126A54
analogous
#6A1254 #6A1228 #6A2812
triadic
#6A1228 #286A12 #12286A
tetradic
#6A1228 #546A12 #126A54 #28126A
square
#6A1228 #546A12 #126A54 #28126A
split-complementary
#6A1228 #126A28 #12546A
monochromatic
#1A040A #360914 #6A1228 #9E1B3C #D3244F

Accessibility & contrast

On white

12.14
#6A1228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A1228
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1228#FFFFFF#000000##FFFFFF
##6A12281.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2A28
Deuteranopia (green-blind)
#413C26
Tritanopia (blue-blind)
#75001C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #6a1228;
/* rgb */ color: rgb(106, 18, 40);
/* oklch */ color: oklch(34.7% 0.121 12.5);
Tailwind
colors: {
  custom: {
    50: '#9a5a61',
    500: '#6a1228',
    950: '#000000',
  },
}
SCSS
$custom: #6a1228;
$custom-light: #9a5a61;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1228",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 40
  },
  "hsl": {
    "h": 345,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34714,
    "c": 0.1207,
    "h": 12.5
  },
  "luminance": 0.0365
}

Semantic roles & 50–950 ramp

primary
#6A1228
secondary
#36A287
accent
#EEC13A
background
#FAF5F5
surface
#F3E9E9
border
#CDC5C5
text
#0F0405
muted
#7F7979

Preview Lab

Preview with #6A1228

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

Preview Lab → · Contrast checker → · Palette generator →

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