#340A01#340A01

#340A01 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.9% C 0.070 H 37.0°. Best body text is #FFFFFF at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#340A01
RGBrgb(52, 10, 1)
HSLhsl(11, 96%, 10%)
HSVhsv(11, 98%, 20%)
CMYKcmyk(0%, 80.8%, 98.1%, 79.6%)
CIE-LABlab(8.56, 20.38, 12.89)
CIE-LCHlch(8.56, 24.11, 32.31°)
OKLaboklab(21.95% 0.0562 0.0424)
OKLCHoklch(21.95% 0.07 37)
XYZxyz(1.5304, 0.9496, 0.1314)
Luminance0.0095 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340A01 #012B34
analogous
#340111 #340A01 #342301
triadic
#340A01 #01340A #0A0134
tetradic
#340A01 #113401 #012B34 #230134
square
#340A01 #113401 #012B34 #230134
split-complementary
#340A01 #013423 #011134
monochromatic
#1E0601 #1E0601 #340A01 #701602 #AC2103

Accessibility & contrast

On white

17.65
#340A01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#340A01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340A01
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340A01#FFFFFF#000000##FFFFFF
##340A011.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171300
Deuteranopia (green-blind)
#211C00
Tritanopia (blue-blind)
#3A0108
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340a01;
/* rgb */ color: rgb(52, 10, 1);
/* oklch */ color: oklch(21.9% 0.070 37.0);
Tailwind
colors: {
  custom: {
    50: '#6f4c47',
    500: '#340a01',
    950: '#000000',
  },
}
SCSS
$custom: #340a01;
$custom-light: #6f4c47;
$custom-dark: #000000;
JSON
{
  "hex": "#340a01",
  "rgb": {
    "r": 52,
    "g": 10,
    "b": 1
  },
  "hsl": {
    "h": 10.588,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.2195,
    "c": 0.07039,
    "h": 37
  },
  "luminance": 0.00949
}

Semantic roles & 50–950 ramp

primary
#340A01
secondary
#186879
accent
#D9FF29
background
#F7F4F3
surface
#EDE7E5
border
#C8C3C1
text
#080100
muted
#7B7777

Preview Lab

Preview with #340A01

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

Preview Lab → · Contrast checker → · Palette generator →

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