#340501#340501

#340501 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 21.2% C 0.076 H 32.2°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#340501
RGBrgb(52, 5, 1)
HSLhsl(5, 96%, 10%)
HSVhsv(5, 98%, 20%)
CMYKcmyk(0%, 90.4%, 98.1%, 79.6%)
CIE-LABlab(7.60, 23.04, 11.48)
CIE-LCHlch(7.60, 25.74, 26.48°)
OKLaboklab(21.22% 0.0645 0.0406)
OKLCHoklch(21.22% 0.076 32.2)
XYZxyz(1.4761, 0.8410, 0.1133)
Luminance0.0084 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340501 #013034
analogous
#340116 #340501 #341E01
triadic
#340501 #013405 #050134
tetradic
#340501 #163401 #013034 #1E0134
square
#340501 #163401 #013034 #1E0134
split-complementary
#340501 #01341E #011634
monochromatic
#1E0301 #1E0301 #340501 #700B02 #AC1103

Accessibility & contrast

On white

17.98
#340501 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#340501 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340501
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340501#FFFFFF#000000##FFFFFF
##3405011.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141000
Deuteranopia (green-blind)
#1F1B00
Tritanopia (blue-blind)
#3A0004
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #340501;
/* rgb */ color: rgb(52, 5, 1);
/* oklch */ color: oklch(21.2% 0.076 32.2);
Tailwind
colors: {
  custom: {
    50: '#704947',
    500: '#340501',
    950: '#000000',
  },
}
SCSS
$custom: #340501;
$custom-light: #704947;
$custom-dark: #000000;
JSON
{
  "hex": "#340501",
  "rgb": {
    "r": 52,
    "g": 5,
    "b": 1
  },
  "hsl": {
    "h": 4.706,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21221,
    "c": 0.07622,
    "h": 32.2
  },
  "luminance": 0.00841
}

Semantic roles & 50–950 ramp

primary
#340501
secondary
#187279
accent
#EEFF29
background
#F7F4F3
surface
#EDE7E5
border
#C8C3C1
text
#080100
muted
#7B7777

Preview Lab

Preview with #340501

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

Preview Lab → · Contrast checker → · Palette generator →

#340501 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva