#340A02#340A02

#340A02 is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.0% C 0.070 H 35.5°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#340A02
RGBrgb(52, 10, 2)
HSLhsl(10, 93%, 11%)
HSVhsv(10, 96%, 20%)
CMYKcmyk(0%, 80.8%, 96.2%, 79.6%)
CIE-LABlab(8.58, 20.45, 12.51)
CIE-LCHlch(8.58, 23.97, 31.45°)
OKLaboklab(21.97% 0.0569 0.0406)
OKLCHoklch(21.97% 0.07 35.5)
XYZxyz(1.5359, 0.9518, 0.1603)
Luminance0.0095 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340A02 #022C34
analogous
#340213 #340A02 #342302
triadic
#340A02 #02340A #0A0234
tetradic
#340A02 #133402 #022C34 #230234
square
#340A02 #133402 #022C34 #230234
split-complementary
#340A02 #023423 #021334
monochromatic
#1D0601 #1D0601 #340A02 #6F1504 #AA2107

Accessibility & contrast

On white

17.64
#340A02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340A02
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340A02#FFFFFF#000000##FFFFFF
##340A021.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #340a02;
/* rgb */ color: rgb(52, 10, 2);
/* oklch */ color: oklch(22.0% 0.070 35.5);
Tailwind
colors: {
  custom: {
    50: '#6f4c47',
    500: '#340a02',
    950: '#000000',
  },
}
SCSS
$custom: #340a02;
$custom-light: #6f4c47;
$custom-dark: #000000;
JSON
{
  "hex": "#340a02",
  "rgb": {
    "r": 52,
    "g": 10,
    "b": 2
  },
  "hsl": {
    "h": 9.6,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.2197,
    "c": 0.06988,
    "h": 35.5
  },
  "luminance": 0.00952
}

Semantic roles & 50–950 ramp

primary
#340A02
secondary
#1A6978
accent
#DDFF29
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340A02

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

Preview Lab → · Contrast checker → · Palette generator →

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