#340B02#340B02

#340B02 is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.1% C 0.069 H 36.5°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#340B02
RGBrgb(52, 11, 2)
HSLhsl(11, 93%, 11%)
HSVhsv(11, 96%, 20%)
CMYKcmyk(0%, 78.8%, 96.2%, 79.6%)
CIE-LABlab(8.77, 19.93, 12.78)
CIE-LCHlch(8.77, 23.68, 32.67°)
OKLaboklab(22.11% 0.0553 0.0409)
OKLCHoklch(22.11% 0.069 36.5)
XYZxyz(1.5470, 0.9740, 0.1640)
Luminance0.0097 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340B02 #022B34
analogous
#340212 #340B02 #342402
triadic
#340B02 #02340B #0B0234
tetradic
#340B02 #123402 #022B34 #240234
square
#340B02 #123402 #022B34 #240234
split-complementary
#340B02 #023424 #021234
monochromatic
#1D0601 #1D0601 #340B02 #6F1704 #AA2407

Accessibility & contrast

On white

17.58
#340B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340B02
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340B02#FFFFFF#000000##FFFFFF
##340B021.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #340b02;
/* rgb */ color: rgb(52, 11, 2);
/* oklch */ color: oklch(22.1% 0.069 36.5);
Tailwind
colors: {
  custom: {
    50: '#6f4c47',
    500: '#340b02',
    950: '#000000',
  },
}
SCSS
$custom: #340b02;
$custom-light: #6f4c47;
$custom-dark: #000000;
JSON
{
  "hex": "#340b02",
  "rgb": {
    "r": 52,
    "g": 11,
    "b": 2
  },
  "hsl": {
    "h": 10.8,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22113,
    "c": 0.06881,
    "h": 36.5
  },
  "luminance": 0.00974
}

Semantic roles & 50–950 ramp

primary
#340B02
secondary
#1A6778
accent
#D8FF29
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340B02

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

Preview Lab → · Contrast checker → · Palette generator →

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