#340A13#340A13

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

Color values

HEX#340A13
RGBrgb(52, 10, 19)
HSLhsl(347, 68%, 12%)
HSVhsv(347, 81%, 20%)
CMYKcmyk(0%, 80.8%, 63.5%, 79.6%)
CIE-LABlab(8.94, 21.75, 5.10)
CIE-LCHlch(8.94, 22.34, 13.21°)
OKLaboklab(22.36% 0.0658 0.0138)
OKLCHoklch(22.36% 0.067 11.8)
XYZxyz(1.6424, 0.9944, 0.7214)
Luminance0.0099 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340A13 #0A342B
analogous
#340A28 #340A13 #34160A
triadic
#340A13 #13340A #0A1334
tetradic
#340A13 #28340A #0A342B #160A34
square
#340A13 #28340A #0A342B #160A34
split-complementary
#340A13 #0A3416 #0A2834
monochromatic
#1A0509 #1A0509 #340A13 #671426 #9B1E39

Accessibility & contrast

On white

17.52
#340A13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340A13
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340A13#FFFFFF#000000##FFFFFF
##340A131.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141413
Deuteranopia (green-blind)
#1F1D12
Tritanopia (blue-blind)
#3A040E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340a13;
/* rgb */ color: rgb(52, 10, 19);
/* oklch */ color: oklch(22.4% 0.067 11.8);
Tailwind
colors: {
  custom: {
    50: '#6f4c50',
    500: '#340a13',
    950: '#000000',
  },
}
SCSS
$custom: #340a13;
$custom-light: #6f4c50;
$custom-dark: #000000;
JSON
{
  "hex": "#340a13",
  "rgb": {
    "r": 52,
    "g": 10,
    "b": 19
  },
  "hsl": {
    "h": 347.143,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22357,
    "c": 0.06719,
    "h": 11.8
  },
  "luminance": 0.00994
}

Semantic roles & 50–950 ramp

primary
#340A13
secondary
#287162
accent
#EBC53D
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340A13

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

Preview Lab → · Contrast checker → · Palette generator →

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