#340510#340510

#340510 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.6% C 0.074 H 12.3°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#340510
RGBrgb(52, 5, 16)
HSLhsl(346, 82%, 11%)
HSVhsv(346, 90%, 20%)
CMYKcmyk(0%, 90.4%, 69.2%, 79.6%)
CIE-LABlab(7.91, 24.10, 5.39)
CIE-LCHlch(7.91, 24.69, 12.62°)
OKLaboklab(21.57% 0.0728 0.0158)
OKLCHoklch(21.57% 0.074 12.3)
XYZxyz(1.5641, 0.8762, 0.5769)
Luminance0.0088 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340510 #053429
analogous
#340527 #340510 #341105
triadic
#340510 #103405 #051034
tetradic
#340510 #273405 #053429 #110534
square
#340510 #273405 #053429 #110534
split-complementary
#340510 #053411 #052734
monochromatic
#1C0309 #1C0309 #340510 #6C0A21 #A41032

Accessibility & contrast

On white

17.87
#340510 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#340510 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340510
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340510#FFFFFF#000000##FFFFFF
##3405101.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111110
Deuteranopia (green-blind)
#1E1B0F
Tritanopia (blue-blind)
#3A0009
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #340510;
/* rgb */ color: rgb(52, 5, 16);
/* oklch */ color: oklch(21.6% 0.074 12.3);
Tailwind
colors: {
  custom: {
    50: '#6f494e',
    500: '#340510',
    950: '#000000',
  },
}
SCSS
$custom: #340510;
$custom-light: #6f494e;
$custom-dark: #000000;
JSON
{
  "hex": "#340510",
  "rgb": {
    "r": 52,
    "g": 5,
    "b": 16
  },
  "hsl": {
    "h": 345.957,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21566,
    "c": 0.07446,
    "h": 12.3
  },
  "luminance": 0.00876
}

Semantic roles & 50–950 ramp

primary
#340510
secondary
#1F7561
accent
#F9CA2F
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340510

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

Preview Lab → · Contrast checker → · Palette generator →

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