#340503#340503

#340503 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 21.3% C 0.075 H 29.2°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#340503
RGBrgb(52, 5, 3)
HSLhsl(2, 89%, 11%)
HSVhsv(2, 94%, 20%)
CMYKcmyk(0%, 90.4%, 94.2%, 79.6%)
CIE-LABlab(7.64, 23.17, 10.72)
CIE-LCHlch(7.64, 25.53, 24.82°)
OKLaboklab(21.27% 0.0659 0.0368)
OKLCHoklch(21.27% 0.075 29.2)
XYZxyz(1.4871, 0.8454, 0.1710)
Luminance0.0084 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340503 #033234
analogous
#340319 #340503 #341D03
triadic
#340503 #033405 #050334
tetradic
#340503 #193403 #033234 #1D0334
square
#340503 #193403 #033234 #1D0334
split-complementary
#340503 #03341D #031934
monochromatic
#1D0302 #1D0302 #340503 #6E0B06 #A8100A

Accessibility & contrast

On white

17.96
#340503 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#340503 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340503
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340503#FFFFFF#000000##FFFFFF
##3405031.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131002
Deuteranopia (green-blind)
#1F1B02
Tritanopia (blue-blind)
#3A0005
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #340503;
/* rgb */ color: rgb(52, 5, 3);
/* oklch */ color: oklch(21.3% 0.075 29.2);
Tailwind
colors: {
  custom: {
    50: '#704948',
    500: '#340503',
    950: '#000000',
  },
}
SCSS
$custom: #340503;
$custom-light: #704948;
$custom-dark: #000000;
JSON
{
  "hex": "#340503",
  "rgb": {
    "r": 52,
    "g": 5,
    "b": 3
  },
  "hsl": {
    "h": 2.449,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21265,
    "c": 0.07548,
    "h": 29.2
  },
  "luminance": 0.00845
}

Semantic roles & 50–950 ramp

primary
#340503
secondary
#1C7377
accent
#F6FF29
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340503

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

Preview Lab → · Contrast checker → · Palette generator →

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