#340E03#340E03

#340E03 is a very dark, moderate red. Relative luminance 0.011; OKLCH L 22.6% C 0.065 H 38.5°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#340E03
RGBrgb(52, 14, 3)
HSLhsl(13, 89%, 11%)
HSVhsv(13, 94%, 20%)
CMYKcmyk(0%, 73.1%, 94.2%, 79.6%)
CIE-LABlab(9.41, 18.35, 13.29)
CIE-LCHlch(9.41, 22.66, 35.90°)
OKLaboklab(22.6% 0.0509 0.0405)
OKLCHoklch(22.6% 0.065 38.5)
XYZxyz(1.5898, 1.0509, 0.2053)
Luminance0.0105 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340E03 #032934
analogous
#340310 #340E03 #342603
triadic
#340E03 #03340E #0E0334
tetradic
#340E03 #103403 #032934 #260334
square
#340E03 #103403 #032934 #260334
split-complementary
#340E03 #033426 #031034
monochromatic
#1D0802 #1D0802 #340E03 #6E1E06 #A82D0A

Accessibility & contrast

On white

17.35
#340E03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#340E03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340E03
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340E03#FFFFFF#000000##FFFFFF
##340E031.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191502
Deuteranopia (green-blind)
#221D02
Tritanopia (blue-blind)
#3A050B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340e03;
/* rgb */ color: rgb(52, 14, 3);
/* oklch */ color: oklch(22.6% 0.065 38.5);
Tailwind
colors: {
  custom: {
    50: '#6f4e48',
    500: '#340e03',
    950: '#000000',
  },
}
SCSS
$custom: #340e03;
$custom-light: #6f4e48;
$custom-dark: #000000;
JSON
{
  "hex": "#340e03",
  "rgb": {
    "r": 52,
    "g": 14,
    "b": 3
  },
  "hsl": {
    "h": 13.469,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22598,
    "c": 0.06501,
    "h": 38.5
  },
  "luminance": 0.01051
}

Semantic roles & 50–950 ramp

primary
#340E03
secondary
#1C6377
accent
#CFFF29
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340E03

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

Preview Lab → · Contrast checker → · Palette generator →

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