#6A1227#6A1227

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

Color values

HEX#6A1227
RGBrgb(106, 18, 39)
HSLhsl(346, 71%, 24%)
HSVhsv(346, 83%, 42%)
CMYKcmyk(0%, 83%, 63.2%, 58.4%)
CIE-LABlab(22.46, 38.98, 11.19)
CIE-LCHlch(22.46, 40.56, 16.02°)
OKLaboklab(34.69% 0.1174 0.0276)
OKLCHoklch(34.69% 0.121 13.2)
XYZxyz(6.5270, 3.6442, 2.2788)
Luminance0.0364 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1227 #126A55
analogous
#6A1253 #6A1227 #6A2912
triadic
#6A1227 #276A12 #12276A
tetradic
#6A1227 #536A12 #126A55 #29126A
square
#6A1227 #536A12 #126A55 #29126A
split-complementary
#6A1227 #126A29 #12536A
monochromatic
#1A040A #360914 #6A1227 #9E1B3A #D3244D

Accessibility & contrast

On white

12.15
#6A1227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A1227
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1227#FFFFFF#000000##FFFFFF
##6A12271.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a1227;
/* rgb */ color: rgb(106, 18, 39);
/* oklch */ color: oklch(34.7% 0.121 13.2);
Tailwind
colors: {
  custom: {
    50: '#9a5a60',
    500: '#6a1227',
    950: '#000000',
  },
}
SCSS
$custom: #6a1227;
$custom-light: #9a5a60;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1227",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 39
  },
  "hsl": {
    "h": 345.682,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34689,
    "c": 0.12061,
    "h": 13.2
  },
  "luminance": 0.03643
}

Semantic roles & 50–950 ramp

primary
#6A1227
secondary
#36A288
accent
#EEC33A
background
#FAF5F5
surface
#F3E9E9
border
#CDC5C5
text
#0F0405
muted
#7F7979

Preview Lab

Preview with #6A1227

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

Preview Lab → · Contrast checker → · Palette generator →

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