#340B15#340B15

#340B15 is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.6% C 0.066 H 9.5°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#340B15
RGBrgb(52, 11, 21)
HSLhsl(345, 65%, 12%)
HSVhsv(345, 79%, 20%)
CMYKcmyk(0%, 78.8%, 59.6%, 79.6%)
CIE-LABlab(9.19, 21.45, 4.13)
CIE-LCHlch(9.19, 21.84, 10.89°)
OKLaboklab(22.56% 0.0651 0.0109)
OKLCHoklch(22.56% 0.066 9.5)
XYZxyz(1.6713, 1.0238, 0.8189)
Luminance0.0102 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340B15 #0B342A
analogous
#340B2A #340B15 #34160B
triadic
#340B15 #15340B #0B1534
tetradic
#340B15 #2A340B #0B342A #160B34
square
#340B15 #2A340B #0B342A #160B34
split-complementary
#340B15 #0B3416 #0B2A34
monochromatic
#19050A #19050A #340B15 #671629 #99203E

Accessibility & contrast

On white

17.43
#340B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340B15
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340B15#FFFFFF#000000##FFFFFF
##340B151.0017.431.2017.43
#FFFFFF17.431.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141515
Deuteranopia (green-blind)
#1F1D14
Tritanopia (blue-blind)
#39050F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340b15;
/* rgb */ color: rgb(52, 11, 21);
/* oklch */ color: oklch(22.6% 0.066 9.5);
Tailwind
colors: {
  custom: {
    50: '#6f4d52',
    500: '#340b15',
    950: '#000000',
  },
}
SCSS
$custom: #340b15;
$custom-light: #6f4d52;
$custom-dark: #000000;
JSON
{
  "hex": "#340b15",
  "rgb": {
    "r": 52,
    "g": 11,
    "b": 21
  },
  "hsl": {
    "h": 345.366,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22557,
    "c": 0.06604,
    "h": 9.5
  },
  "luminance": 0.01024
}

Semantic roles & 50–950 ramp

primary
#340B15
secondary
#2A715F
accent
#E8BF40
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340B15

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

Preview Lab → · Contrast checker → · Palette generator →

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