#340C09#340C09

#340C09 is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.4% C 0.065 H 27.8°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#340C09
RGBrgb(52, 12, 9)
HSLhsl(4, 70%, 12%)
HSVhsv(4, 83%, 20%)
CMYKcmyk(0%, 76.9%, 82.7%, 79.6%)
CIE-LABlab(9.10, 19.88, 10.40)
CIE-LCHlch(9.10, 22.44, 27.61°)
OKLaboklab(22.4% 0.0576 0.0304)
OKLCHoklch(22.4% 0.065 27.8)
XYZxyz(1.5971, 1.0130, 0.3698)
Luminance0.0101 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340C09 #093134
analogous
#34091C #340C09 #342209
triadic
#340C09 #09340C #0C0934
tetradic
#340C09 #1C3409 #093134 #220934
square
#340C09 #1C3409 #093134 #220934
split-complementary
#340C09 #093422 #091C34
monochromatic
#1A0605 #1A0605 #340C09 #681812 #9C241B

Accessibility & contrast

On white

17.46
#340C09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340C09
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340C09#FFFFFF#000000##FFFFFF
##340C091.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171408
Deuteranopia (green-blind)
#211D08
Tritanopia (blue-blind)
#3A040C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340c09;
/* rgb */ color: rgb(52, 12, 9);
/* oklch */ color: oklch(22.4% 0.065 27.8);
Tailwind
colors: {
  custom: {
    50: '#6f4d4a',
    500: '#340c09',
    950: '#000000',
  },
}
SCSS
$custom: #340c09;
$custom-light: #6f4d4a;
$custom-dark: #000000;
JSON
{
  "hex": "#340c09",
  "rgb": {
    "r": 52,
    "g": 12,
    "b": 9
  },
  "hsl": {
    "h": 4.186,
    "s": 70.492,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22399,
    "c": 0.06514,
    "h": 27.8
  },
  "luminance": 0.01013
}

Semantic roles & 50–950 ramp

primary
#340C09
secondary
#276D72
accent
#E1ED3B
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340C09

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

Preview Lab → · Contrast checker → · Palette generator →

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