#340C02#340C02

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

Color values

HEX#340C02
RGBrgb(52, 12, 2)
HSLhsl(12, 93%, 11%)
HSVhsv(12, 96%, 20%)
CMYKcmyk(0%, 76.9%, 96.2%, 79.6%)
CIE-LABlab(8.97, 19.40, 13.07)
CIE-LCHlch(8.97, 23.39, 33.96°)
OKLaboklab(22.26% 0.0537 0.0413)
OKLCHoklch(22.26% 0.068 37.6)
XYZxyz(1.5588, 0.9976, 0.1679)
Luminance0.0100 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340C02 #022A34
analogous
#340211 #340C02 #342502
triadic
#340C02 #02340C #0C0234
tetradic
#340C02 #113402 #022A34 #250234
square
#340C02 #113402 #022A34 #250234
split-complementary
#340C02 #023425 #021134
monochromatic
#1D0701 #1D0701 #340C02 #6F1A04 #AA2707

Accessibility & contrast

On white

17.51
#340C02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340C02
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340C02#FFFFFF#000000##FFFFFF
##340C021.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181401
Deuteranopia (green-blind)
#221D01
Tritanopia (blue-blind)
#3A030A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340c02;
/* rgb */ color: rgb(52, 12, 2);
/* oklch */ color: oklch(22.3% 0.068 37.6);
Tailwind
colors: {
  custom: {
    50: '#6f4d47',
    500: '#340c02',
    950: '#000000',
  },
}
SCSS
$custom: #340c02;
$custom-light: #6f4d47;
$custom-dark: #000000;
JSON
{
  "hex": "#340c02",
  "rgb": {
    "r": 52,
    "g": 12,
    "b": 2
  },
  "hsl": {
    "h": 12,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22263,
    "c": 0.06774,
    "h": 37.6
  },
  "luminance": 0.00997
}

Semantic roles & 50–950 ramp

primary
#340C02
secondary
#1A6578
accent
#D4FF29
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340C02

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

Preview Lab → · Contrast checker → · Palette generator →

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