#340C0D#340C0D

#340C0D is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.5% C 0.064 H 22.5°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#340C0D
RGBrgb(52, 12, 13)
HSLhsl(359, 63%, 13%)
HSVhsv(359, 77%, 20%)
CMYKcmyk(0%, 76.9%, 75%, 79.6%)
CIE-LABlab(9.18, 20.17, 8.77)
CIE-LCHlch(9.18, 22.00, 23.50°)
OKLaboklab(22.48% 0.0595 0.0247)
OKLCHoklch(22.48% 0.064 22.5)
XYZxyz(1.6205, 1.0223, 0.4927)
Luminance0.0102 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340C0D #0C3433
analogous
#340C21 #340C0D #341F0C
triadic
#340C0D #0D340C #0C0D34
tetradic
#340C0D #21340C #0C3433 #1F0C34
square
#340C0D #21340C #0C3433 #1F0C34
split-complementary
#340C0D #0C341F #0C2134
monochromatic
#190606 #190606 #340C0D #661719 #972326

Accessibility & contrast

On white

17.44
#340C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340C0D
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340C0D#FFFFFF#000000##FFFFFF
##340C0D1.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16140D
Deuteranopia (green-blind)
#211D0C
Tritanopia (blue-blind)
#3A040D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340c0d;
/* rgb */ color: rgb(52, 12, 13);
/* oklch */ color: oklch(22.5% 0.064 22.5);
Tailwind
colors: {
  custom: {
    50: '#6f4d4c',
    500: '#340c0d',
    950: '#000000',
  },
}
SCSS
$custom: #340c0d;
$custom-light: #6f4d4c;
$custom-dark: #000000;
JSON
{
  "hex": "#340c0d",
  "rgb": {
    "r": 52,
    "g": 12,
    "b": 13
  },
  "hsl": {
    "h": 358.5,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22481,
    "c": 0.06443,
    "h": 22.5
  },
  "luminance": 0.01022
}

Semantic roles & 50–950 ramp

primary
#340C0D
secondary
#2C706E
accent
#E6E142
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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