#340B03#340B03

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

Color values

HEX#340B03
RGBrgb(52, 11, 3)
HSLhsl(10, 89%, 11%)
HSVhsv(10, 94%, 20%)
CMYKcmyk(0%, 78.8%, 94.2%, 79.6%)
CIE-LABlab(8.79, 20.00, 12.40)
CIE-LCHlch(8.79, 23.53, 31.80°)
OKLaboklab(22.13% 0.056 0.0392)
OKLCHoklch(22.13% 0.068 35)
XYZxyz(1.5525, 0.9762, 0.1928)
Luminance0.0098 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340B03 #032C34
analogous
#340313 #340B03 #342303
triadic
#340B03 #03340B #0B0334
tetradic
#340B03 #133403 #032C34 #230334
square
#340B03 #133403 #032C34 #230334
split-complementary
#340B03 #033423 #031334
monochromatic
#1D0602 #1D0602 #340B03 #6E1706 #A8230A

Accessibility & contrast

On white

17.57
#340B03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#340B03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340B03
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340B03#FFFFFF#000000##FFFFFF
##340B031.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #340b03;
/* rgb */ color: rgb(52, 11, 3);
/* oklch */ color: oklch(22.1% 0.068 35.0);
Tailwind
colors: {
  custom: {
    50: '#6f4c48',
    500: '#340b03',
    950: '#000000',
  },
}
SCSS
$custom: #340b03;
$custom-light: #6f4c48;
$custom-dark: #000000;
JSON
{
  "hex": "#340b03",
  "rgb": {
    "r": 52,
    "g": 11,
    "b": 3
  },
  "hsl": {
    "h": 9.796,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22133,
    "c": 0.06832,
    "h": 35
  },
  "luminance": 0.00976
}

Semantic roles & 50–950 ramp

primary
#340B03
secondary
#1C6877
accent
#DCFF29
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340B03

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

Preview Lab → · Contrast checker → · Palette generator →

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