#340A12#340A12

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

Color values

HEX#340A12
RGBrgb(52, 10, 18)
HSLhsl(349, 68%, 12%)
HSVhsv(349, 81%, 20%)
CMYKcmyk(0%, 80.8%, 65.4%, 79.6%)
CIE-LABlab(8.92, 21.65, 5.68)
CIE-LCHlch(8.92, 22.38, 14.71°)
OKLaboklab(22.33% 0.0653 0.0155)
OKLCHoklch(22.33% 0.067 13.3)
XYZxyz(1.6340, 0.9910, 0.6774)
Luminance0.0099 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340A12 #0A342C
analogous
#340A27 #340A12 #34170A
triadic
#340A12 #12340A #0A1234
tetradic
#340A12 #27340A #0A342C #170A34
square
#340A12 #27340A #0A342C #170A34
split-complementary
#340A12 #0A3417 #0A2734
monochromatic
#1A0509 #1A0509 #340A12 #671424 #9B1E36

Accessibility & contrast

On white

17.53
#340A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340A12
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340A12#FFFFFF#000000##FFFFFF
##340A121.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141412
Deuteranopia (green-blind)
#1F1C11
Tritanopia (blue-blind)
#3A030D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340a12;
/* rgb */ color: rgb(52, 10, 18);
/* oklch */ color: oklch(22.3% 0.067 13.3);
Tailwind
colors: {
  custom: {
    50: '#6f4c4f',
    500: '#340a12',
    950: '#000000',
  },
}
SCSS
$custom: #340a12;
$custom-light: #6f4c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#340a12",
  "rgb": {
    "r": 52,
    "g": 10,
    "b": 18
  },
  "hsl": {
    "h": 348.571,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22327,
    "c": 0.06709,
    "h": 13.3
  },
  "luminance": 0.00991
}

Semantic roles & 50–950 ramp

primary
#340A12
secondary
#287163
accent
#EBCA3D
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340A12

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

Preview Lab → · Contrast checker → · Palette generator →

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