#340D0F#340D0F

#340D0F is a very dark, moderate red. Relative luminance 0.011; OKLCH L 22.7% C 0.063 H 20.7°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#340D0F
RGBrgb(52, 13, 15)
HSLhsl(357, 60%, 13%)
HSVhsv(357, 75%, 20%)
CMYKcmyk(0%, 75%, 71.2%, 79.6%)
CIE-LABlab(9.42, 19.80, 8.12)
CIE-LCHlch(9.42, 21.39, 22.30°)
OKLaboklab(22.68% 0.0588 0.0222)
OKLCHoklch(22.68% 0.063 20.7)
XYZxyz(1.6465, 1.0526, 0.5683)
Luminance0.0105 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340D0F #0D3432
analogous
#340D22 #340D0F #341E0D
triadic
#340D0F #0F340D #0D0F34
tetradic
#340D0F #22340D #0D3432 #1E0D34
square
#340D0F #22340D #0D3432 #1E0D34
split-complementary
#340D0F #0D341E #0D2234
monochromatic
#180607 #180607 #340D0F #65191D #96252B

Accessibility & contrast

On white

17.35
#340D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#340D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340D0F
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340D0F#FFFFFF#000000##FFFFFF
##340D0F1.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17150F
Deuteranopia (green-blind)
#211D0E
Tritanopia (blue-blind)
#3A060E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340d0f;
/* rgb */ color: rgb(52, 13, 15);
/* oklch */ color: oklch(22.7% 0.063 20.7);
Tailwind
colors: {
  custom: {
    50: '#6f4e4e',
    500: '#340d0f',
    950: '#000000',
  },
}
SCSS
$custom: #340d0f;
$custom-light: #6f4e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#340d0f",
  "rgb": {
    "r": 52,
    "g": 13,
    "b": 15
  },
  "hsl": {
    "h": 356.923,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.2268,
    "c": 0.06283,
    "h": 20.7
  },
  "luminance": 0.01052
}

Semantic roles & 50–950 ramp

primary
#340D0F
secondary
#2D6F6C
accent
#E3DB45
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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