#340C03#340C03

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

Color values

HEX#340C03
RGBrgb(52, 12, 3)
HSLhsl(11, 89%, 11%)
HSVhsv(11, 94%, 20%)
CMYKcmyk(0%, 76.9%, 94.2%, 79.6%)
CIE-LABlab(8.99, 19.47, 12.69)
CIE-LCHlch(8.99, 23.24, 33.09°)
OKLaboklab(22.28% 0.0543 0.0396)
OKLCHoklch(22.28% 0.067 36.1)
XYZxyz(1.5643, 0.9998, 0.1967)
Luminance0.0100 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340C03 #032B34
analogous
#340312 #340C03 #342403
triadic
#340C03 #03340C #0C0334
tetradic
#340C03 #123403 #032B34 #240334
square
#340C03 #123403 #032B34 #240334
split-complementary
#340C03 #033424 #031234
monochromatic
#1D0702 #1D0702 #340C03 #6E1906 #A8270A

Accessibility & contrast

On white

17.50
#340C03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340C03
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340C03#FFFFFF#000000##FFFFFF
##340C031.0017.501.2017.50
#FFFFFF17.501.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181402
Deuteranopia (green-blind)
#211D02
Tritanopia (blue-blind)
#3A030A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340c03;
/* rgb */ color: rgb(52, 12, 3);
/* oklch */ color: oklch(22.3% 0.067 36.1);
Tailwind
colors: {
  custom: {
    50: '#6f4d48',
    500: '#340c03',
    950: '#000000',
  },
}
SCSS
$custom: #340c03;
$custom-light: #6f4d48;
$custom-dark: #000000;
JSON
{
  "hex": "#340c03",
  "rgb": {
    "r": 52,
    "g": 12,
    "b": 3
  },
  "hsl": {
    "h": 11.02,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22282,
    "c": 0.06722,
    "h": 36.1
  },
  "luminance": 0.01
}

Semantic roles & 50–950 ramp

primary
#340C03
secondary
#1C6677
accent
#D8FF29
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340C03

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

Preview Lab → · Contrast checker → · Palette generator →

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