#340A0A#340A0A

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

Color values

HEX#340A0A
RGBrgb(52, 10, 10)
HSLhsl(0, 68%, 12%)
HSVhsv(0, 81%, 20%)
CMYKcmyk(0%, 80.8%, 80.8%, 79.6%)
CIE-LABlab(8.73, 20.99, 9.46)
CIE-LCHlch(8.73, 23.03, 24.27°)
OKLaboklab(22.13% 0.0614 0.028)
OKLCHoklch(22.13% 0.067 24.5)
XYZxyz(1.5797, 0.9693, 0.3910)
Luminance0.0097 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340A0A #0A3434
analogous
#340A1F #340A0A #341F0A
triadic
#340A0A #0A340A #0A0A34
tetradic
#340A0A #1F340A #0A3434 #1F0A34
square
#340A0A #1F340A #0A3434 #1F0A34
split-complementary
#340A0A #0A341F #0A1F34
monochromatic
#1A0505 #1A0505 #340A0A #671414 #9B1E1E

Accessibility & contrast

On white

17.59
#340A0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340A0A
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340A0A#FFFFFF#000000##FFFFFF
##340A0A1.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16130A
Deuteranopia (green-blind)
#201C09
Tritanopia (blue-blind)
#3A020A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340a0a;
/* rgb */ color: rgb(52, 10, 10);
/* oklch */ color: oklch(22.1% 0.067 24.5);
Tailwind
colors: {
  custom: {
    50: '#6f4c4b',
    500: '#340a0a',
    950: '#000000',
  },
}
SCSS
$custom: #340a0a;
$custom-light: #6f4c4b;
$custom-dark: #000000;
JSON
{
  "hex": "#340a0a",
  "rgb": {
    "r": 52,
    "g": 10,
    "b": 10
  },
  "hsl": {
    "h": 0,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2213,
    "c": 0.06745,
    "h": 24.5
  },
  "luminance": 0.00969
}

Semantic roles & 50–950 ramp

primary
#340A0A
secondary
#287171
accent
#EBEB3D
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340A0A

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

Preview Lab → · Contrast checker → · Palette generator →

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