#6A1223#6A1223

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

Color values

HEX#6A1223
RGBrgb(106, 18, 35)
HSLhsl(348, 71%, 24%)
HSVhsv(348, 83%, 42%)
CMYKcmyk(0%, 83%, 67%, 58.4%)
CIE-LABlab(22.37, 38.71, 13.85)
CIE-LCHlch(22.37, 41.11, 19.68°)
OKLaboklab(34.6% 0.1157 0.0334)
OKLCHoklch(34.6% 0.12 16.1)
XYZxyz(6.4642, 3.6191, 1.9480)
Luminance0.0362 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1223 #126A59
analogous
#6A124F #6A1223 #6A2D12
triadic
#6A1223 #236A12 #12236A
tetradic
#6A1223 #4F6A12 #126A59 #2D126A
square
#6A1223 #4F6A12 #126A59 #2D126A
split-complementary
#6A1223 #126A2D #124F6A
monochromatic
#1A0409 #360912 #6A1223 #9E1B34 #D32446

Accessibility & contrast

On white

12.18
#6A1223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A1223
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1223#FFFFFF#000000##FFFFFF
##6A12231.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2A23
Deuteranopia (green-blind)
#423C21
Tritanopia (blue-blind)
#750019
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #6a1223;
/* rgb */ color: rgb(106, 18, 35);
/* oklch */ color: oklch(34.6% 0.120 16.1);
Tailwind
colors: {
  custom: {
    50: '#9b5a5d',
    500: '#6a1223',
    950: '#000000',
  },
}
SCSS
$custom: #6a1223;
$custom-light: #9b5a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1223",
  "rgb": {
    "r": 106,
    "g": 18,
    "b": 35
  },
  "hsl": {
    "h": 348.409,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34595,
    "c": 0.1204,
    "h": 16.1
  },
  "luminance": 0.03618
}

Semantic roles & 50–950 ramp

primary
#6A1223
secondary
#36A28D
accent
#EECB3A
background
#FAF5F5
surface
#F4E9E9
border
#CEC5C5
text
#0F0404
muted
#7F7979

Preview Lab

Preview with #6A1223

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

Preview Lab → · Contrast checker → · Palette generator →

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