#340A0E#340A0E

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

Color values

HEX#340A0E
RGBrgb(52, 10, 14)
HSLhsl(354, 68%, 12%)
HSVhsv(354, 81%, 20%)
CMYKcmyk(0%, 80.8%, 73.1%, 79.6%)
CIE-LABlab(8.82, 21.29, 7.76)
CIE-LCHlch(8.82, 22.66, 20.04°)
OKLaboklab(22.22% 0.0633 0.022)
OKLCHoklch(22.22% 0.067 19.2)
XYZxyz(1.6041, 0.9791, 0.5199)
Luminance0.0098 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340A0E #0A3430
analogous
#340A23 #340A0E #341B0A
triadic
#340A0E #0E340A #0A0E34
tetradic
#340A0E #23340A #0A3430 #1B0A34
square
#340A0E #23340A #0A3430 #1B0A34
split-complementary
#340A0E #0A341B #0A2334
monochromatic
#1A0507 #1A0507 #340A0E #67141C #9B1E2A

Accessibility & contrast

On white

17.56
#340A0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#340A0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340A0E
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340A0E#FFFFFF#000000##FFFFFF
##340A0E1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15140E
Deuteranopia (green-blind)
#201C0D
Tritanopia (blue-blind)
#3A030C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340a0e;
/* rgb */ color: rgb(52, 10, 14);
/* oklch */ color: oklch(22.2% 0.067 19.2);
Tailwind
colors: {
  custom: {
    50: '#6f4c4d',
    500: '#340a0e',
    950: '#000000',
  },
}
SCSS
$custom: #340a0e;
$custom-light: #6f4c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#340a0e",
  "rgb": {
    "r": 52,
    "g": 10,
    "b": 14
  },
  "hsl": {
    "h": 354.286,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22219,
    "c": 0.06703,
    "h": 19.2
  },
  "luminance": 0.00979
}

Semantic roles & 50–950 ramp

primary
#340A0E
secondary
#28716A
accent
#EBDA3D
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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