#340902#340902

#340902 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.8% C 0.071 H 34.5°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#340902
RGBrgb(52, 9, 2)
HSLhsl(8, 93%, 11%)
HSVhsv(8, 96%, 20%)
CMYKcmyk(0%, 82.7%, 96.2%, 79.6%)
CIE-LABlab(8.39, 20.96, 12.23)
CIE-LCHlch(8.39, 24.27, 30.27°)
OKLaboklab(21.83% 0.0585 0.0402)
OKLCHoklch(21.83% 0.071 34.5)
XYZxyz(1.5250, 0.9301, 0.1566)
Luminance0.0093 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340902 #022D34
analogous
#340214 #340902 #342202
triadic
#340902 #023409 #090234
tetradic
#340902 #143402 #022D34 #220234
square
#340902 #143402 #022D34 #220234
split-complementary
#340902 #023422 #021434
monochromatic
#1D0501 #1D0501 #340902 #6F1304 #AA1D07

Accessibility & contrast

On white

17.71
#340902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#340902 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340902
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340902#FFFFFF#000000##FFFFFF
##3409021.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161201
Deuteranopia (green-blind)
#211C01
Tritanopia (blue-blind)
#3A0007
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #340902;
/* rgb */ color: rgb(52, 9, 2);
/* oklch */ color: oklch(21.8% 0.071 34.5);
Tailwind
colors: {
  custom: {
    50: '#6f4b47',
    500: '#340902',
    950: '#000000',
  },
}
SCSS
$custom: #340902;
$custom-light: #6f4b47;
$custom-dark: #000000;
JSON
{
  "hex": "#340902",
  "rgb": {
    "r": 52,
    "g": 9,
    "b": 2
  },
  "hsl": {
    "h": 8.4,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21829,
    "c": 0.07096,
    "h": 34.5
  },
  "luminance": 0.0093
}

Semantic roles & 50–950 ramp

primary
#340902
secondary
#1A6B78
accent
#E1FF29
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340902

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

Preview Lab → · Contrast checker → · Palette generator →

#340902 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva