#340A0D#340A0D

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

Color values

HEX#340A0D
RGBrgb(52, 10, 13)
HSLhsl(356, 68%, 12%)
HSVhsv(356, 81%, 20%)
CMYKcmyk(0%, 80.8%, 75%, 79.6%)
CIE-LABlab(8.79, 21.21, 8.22)
CIE-LCHlch(8.79, 22.75, 21.19°)
OKLaboklab(22.2% 0.0628 0.0236)
OKLCHoklch(22.2% 0.067 20.6)
XYZxyz(1.5975, 0.9764, 0.4850)
Luminance0.0098 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340A0D #0A3431
analogous
#340A22 #340A0D #341C0A
triadic
#340A0D #0D340A #0A0D34
tetradic
#340A0D #22340A #0A3431 #1C0A34
square
#340A0D #22340A #0A3431 #1C0A34
split-complementary
#340A0D #0A341C #0A2234
monochromatic
#1A0506 #1A0506 #340A0D #67141A #9B1E27

Accessibility & contrast

On white

17.57
#340A0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340A0D
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340A0D#FFFFFF#000000##FFFFFF
##340A0D1.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #340a0d;
/* rgb */ color: rgb(52, 10, 13);
/* oklch */ color: oklch(22.2% 0.067 20.6);
Tailwind
colors: {
  custom: {
    50: '#6f4c4c',
    500: '#340a0d',
    950: '#000000',
  },
}
SCSS
$custom: #340a0d;
$custom-light: #6f4c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#340a0d",
  "rgb": {
    "r": 52,
    "g": 10,
    "b": 13
  },
  "hsl": {
    "h": 355.714,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22195,
    "c": 0.06709,
    "h": 20.6
  },
  "luminance": 0.00976
}

Semantic roles & 50–950 ramp

primary
#340A0D
secondary
#28716C
accent
#EBDE3D
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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