#340E02#340E02

#340E02 is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.6% C 0.066 H 39.9°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#340E02
RGBrgb(52, 14, 2)
HSLhsl(14, 93%, 11%)
HSVhsv(14, 96%, 20%)
CMYKcmyk(0%, 73.1%, 96.2%, 79.6%)
CIE-LABlab(9.39, 18.28, 13.67)
CIE-LCHlch(9.39, 22.82, 36.79°)
OKLaboklab(22.58% 0.0503 0.0421)
OKLCHoklch(22.58% 0.066 39.9)
XYZxyz(1.5843, 1.0488, 0.1764)
Luminance0.0105 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340E02 #022834
analogous
#34020F #340E02 #342702
triadic
#340E02 #02340E #0E0234
tetradic
#340E02 #0F3402 #022834 #270234
square
#340E02 #0F3402 #022834 #270234
split-complementary
#340E02 #023427 #020F34
monochromatic
#1D0801 #1D0801 #340E02 #6F1E04 #AA2E07

Accessibility & contrast

On white

17.36
#340E02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340E02
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340E02#FFFFFF#000000##FFFFFF
##340E021.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #340e02;
/* rgb */ color: rgb(52, 14, 2);
/* oklch */ color: oklch(22.6% 0.066 39.9);
Tailwind
colors: {
  custom: {
    50: '#6f4e47',
    500: '#340e02',
    950: '#000000',
  },
}
SCSS
$custom: #340e02;
$custom-light: #6f4e47;
$custom-dark: #000000;
JSON
{
  "hex": "#340e02",
  "rgb": {
    "r": 52,
    "g": 14,
    "b": 2
  },
  "hsl": {
    "h": 14.4,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22579,
    "c": 0.06556,
    "h": 39.9
  },
  "luminance": 0.01049
}

Semantic roles & 50–950 ramp

primary
#340E02
secondary
#1A6178
accent
#CCFF29
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340E02

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

Preview Lab → · Contrast checker → · Palette generator →

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