#340C0A#340C0A

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

Color values

HEX#340C0A
RGBrgb(52, 12, 10)
HSLhsl(3, 68%, 12%)
HSVhsv(3, 81%, 20%)
CMYKcmyk(0%, 76.9%, 80.8%, 79.6%)
CIE-LABlab(9.12, 19.95, 10.02)
CIE-LCHlch(9.12, 22.32, 26.66°)
OKLaboklab(22.42% 0.0581 0.029)
OKLCHoklch(22.42% 0.065 26.5)
XYZxyz(1.6026, 1.0151, 0.3987)
Luminance0.0101 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340C0A #0A3234
analogous
#340A1D #340C0A #34210A
triadic
#340C0A #0A340C #0C0A34
tetradic
#340C0A #1D340A #0A3234 #210A34
square
#340C0A #1D340A #0A3234 #210A34
split-complementary
#340C0A #0A3421 #0A1D34
monochromatic
#1A0605 #1A0605 #340C0A #671814 #9B241E

Accessibility & contrast

On white

17.46
#340C0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340C0A
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340C0A#FFFFFF#000000##FFFFFF
##340C0A1.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171409
Deuteranopia (green-blind)
#211D09
Tritanopia (blue-blind)
#3A040C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340c0a;
/* rgb */ color: rgb(52, 12, 10);
/* oklch */ color: oklch(22.4% 0.065 26.5);
Tailwind
colors: {
  custom: {
    50: '#6f4d4b',
    500: '#340c0a',
    950: '#000000',
  },
}
SCSS
$custom: #340c0a;
$custom-light: #6f4d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#340c0a",
  "rgb": {
    "r": 52,
    "g": 12,
    "b": 10
  },
  "hsl": {
    "h": 2.857,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22418,
    "c": 0.06493,
    "h": 26.5
  },
  "luminance": 0.01015
}

Semantic roles & 50–950 ramp

primary
#340C0A
secondary
#286E71
accent
#E2EB3D
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340C0A

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

Preview Lab → · Contrast checker → · Palette generator →

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