#340C01#340C01

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

Color values

HEX#340C01
RGBrgb(52, 12, 1)
HSLhsl(13, 96%, 10%)
HSVhsv(13, 98%, 20%)
CMYKcmyk(0%, 76.9%, 98.1%, 79.6%)
CIE-LABlab(8.95, 19.33, 13.45)
CIE-LCHlch(8.95, 23.55, 34.83°)
OKLaboklab(22.24% 0.053 0.043)
OKLCHoklch(22.24% 0.068 39.1)
XYZxyz(1.5533, 0.9954, 0.1391)
Luminance0.0100 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340C01 #012934
analogous
#34010F #340C01 #342501
triadic
#340C01 #01340C #0C0134
tetradic
#340C01 #0F3401 #012934 #250134
square
#340C01 #0F3401 #012934 #250134
split-complementary
#340C01 #013425 #010F34
monochromatic
#1E0701 #1E0701 #340C01 #701A02 #AC2803

Accessibility & contrast

On white

17.51
#340C01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340C01
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340C01#FFFFFF#000000##FFFFFF
##340C011.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181400
Deuteranopia (green-blind)
#221D00
Tritanopia (blue-blind)
#3A0309
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340c01;
/* rgb */ color: rgb(52, 12, 1);
/* oklch */ color: oklch(22.2% 0.068 39.1);
Tailwind
colors: {
  custom: {
    50: '#6f4d47',
    500: '#340c01',
    950: '#000000',
  },
}
SCSS
$custom: #340c01;
$custom-light: #6f4d47;
$custom-dark: #000000;
JSON
{
  "hex": "#340c01",
  "rgb": {
    "r": 52,
    "g": 12,
    "b": 1
  },
  "hsl": {
    "h": 12.941,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22243,
    "c": 0.06829,
    "h": 39.1
  },
  "luminance": 0.00995
}

Semantic roles & 50–950 ramp

primary
#340C01
secondary
#186479
accent
#D1FF29
background
#F7F4F3
surface
#EDE7E5
border
#C8C3C1
text
#080100
muted
#7B7777

Preview Lab

Preview with #340C01

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

Preview Lab → · Contrast checker → · Palette generator →

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