#340A0F#340A0F

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

Color values

HEX#340A0F
RGBrgb(52, 10, 15)
HSLhsl(353, 68%, 12%)
HSVhsv(353, 81%, 20%)
CMYKcmyk(0%, 80.8%, 71.2%, 79.6%)
CIE-LABlab(8.84, 21.37, 7.28)
CIE-LCHlch(8.84, 22.58, 18.81°)
OKLaboklab(22.24% 0.0638 0.0204)
OKLCHoklch(22.24% 0.067 17.8)
XYZxyz(1.6111, 0.9819, 0.5565)
Luminance0.0098 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340A0F #0A342F
analogous
#340A24 #340A0F #341A0A
triadic
#340A0F #0F340A #0A0F34
tetradic
#340A0F #24340A #0A342F #1A0A34
square
#340A0F #24340A #0A342F #1A0A34
split-complementary
#340A0F #0A341A #0A2434
monochromatic
#1A0507 #1A0507 #340A0F #67141E #9B1E2D

Accessibility & contrast

On white

17.55
#340A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340A0F
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340A0F#FFFFFF#000000##FFFFFF
##340A0F1.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15140F
Deuteranopia (green-blind)
#201C0E
Tritanopia (blue-blind)
#3A030C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340a0f;
/* rgb */ color: rgb(52, 10, 15);
/* oklch */ color: oklch(22.2% 0.067 17.8);
Tailwind
colors: {
  custom: {
    50: '#6f4c4e',
    500: '#340a0f',
    950: '#000000',
  },
}
SCSS
$custom: #340a0f;
$custom-light: #6f4c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#340a0f",
  "rgb": {
    "r": 52,
    "g": 10,
    "b": 15
  },
  "hsl": {
    "h": 352.857,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22244,
    "c": 0.06699,
    "h": 17.8
  },
  "luminance": 0.00982
}

Semantic roles & 50–950 ramp

primary
#340A0F
secondary
#287169
accent
#EBD63D
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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