#340F03#340F03

#340F03 is a very dark, moderate red. Relative luminance 0.011; OKLCH L 22.8% C 0.064 H 39.8°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#340F03
RGBrgb(52, 15, 3)
HSLhsl(15, 89%, 11%)
HSVhsv(15, 94%, 20%)
CMYKcmyk(0%, 71.2%, 94.2%, 79.6%)
CIE-LABlab(9.63, 17.77, 13.60)
CIE-LCHlch(9.63, 22.38, 37.43°)
OKLaboklab(22.77% 0.0491 0.0409)
OKLCHoklch(22.77% 0.064 39.8)
XYZxyz(1.6036, 1.0785, 0.2099)
Luminance0.0108 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340F03 #032834
analogous
#34030F #340F03 #342703
triadic
#340F03 #03340F #0F0334
tetradic
#340F03 #0F3403 #032834 #270334
square
#340F03 #0F3403 #032834 #270334
split-complementary
#340F03 #033427 #030F34
monochromatic
#1D0802 #1D0802 #340F03 #6E2006 #A8300A

Accessibility & contrast

On white

17.28
#340F03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#340F03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340F03
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340F03#FFFFFF#000000##FFFFFF
##340F031.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1602
Deuteranopia (green-blind)
#231E02
Tritanopia (blue-blind)
#3A060C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340f03;
/* rgb */ color: rgb(52, 15, 3);
/* oklch */ color: oklch(22.8% 0.064 39.8);
Tailwind
colors: {
  custom: {
    50: '#6f4f48',
    500: '#340f03',
    950: '#000000',
  },
}
SCSS
$custom: #340f03;
$custom-light: #6f4f48;
$custom-dark: #000000;
JSON
{
  "hex": "#340f03",
  "rgb": {
    "r": 52,
    "g": 15,
    "b": 3
  },
  "hsl": {
    "h": 14.694,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22765,
    "c": 0.06391,
    "h": 39.8
  },
  "luminance": 0.01078
}

Semantic roles & 50–950 ramp

primary
#340F03
secondary
#1C6177
accent
#CBFF29
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080200
muted
#7B7877

Preview Lab

Preview with #340F03

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

Preview Lab → · Contrast checker → · Palette generator →

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