#340A0B#340A0B

#340A0B is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.2% C 0.067 H 23.2°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#340A0B
RGBrgb(52, 10, 11)
HSLhsl(359, 68%, 12%)
HSVhsv(359, 81%, 20%)
CMYKcmyk(0%, 80.8%, 78.8%, 79.6%)
CIE-LABlab(8.75, 21.06, 9.07)
CIE-LCHlch(8.75, 22.93, 23.31°)
OKLaboklab(22.15% 0.0618 0.0266)
OKLCHoklch(22.15% 0.067 23.2)
XYZxyz(1.5853, 0.9715, 0.4206)
Luminance0.0097 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340A0B #0A3433
analogous
#340A20 #340A0B #341E0A
triadic
#340A0B #0B340A #0A0B34
tetradic
#340A0B #20340A #0A3433 #1E0A34
square
#340A0B #20340A #0A3433 #1E0A34
split-complementary
#340A0B #0A341E #0A2034
monochromatic
#1A0505 #1A0505 #340A0B #671416 #9B1E21

Accessibility & contrast

On white

17.58
#340A0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#340A0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340A0B
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340A0B#FFFFFF#000000##FFFFFF
##340A0B1.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15130B
Deuteranopia (green-blind)
#201C0A
Tritanopia (blue-blind)
#3A020B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340a0b;
/* rgb */ color: rgb(52, 10, 11);
/* oklch */ color: oklch(22.2% 0.067 23.2);
Tailwind
colors: {
  custom: {
    50: '#6f4c4b',
    500: '#340a0b',
    950: '#000000',
  },
}
SCSS
$custom: #340a0b;
$custom-light: #6f4c4b;
$custom-dark: #000000;
JSON
{
  "hex": "#340a0b",
  "rgb": {
    "r": 52,
    "g": 10,
    "b": 11
  },
  "hsl": {
    "h": 358.571,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22151,
    "c": 0.0673,
    "h": 23.2
  },
  "luminance": 0.00971
}

Semantic roles & 50–950 ramp

primary
#340A0B
secondary
#287170
accent
#EBE63D
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340A0B

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

Preview Lab → · Contrast checker → · Palette generator →

#340A0B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva