#340303#340303

#340303 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 21.0% C 0.078 H 27.4°. Best body text is #FFFFFF at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#340303
RGBrgb(52, 3, 3)
HSLhsl(0, 89%, 11%)
HSVhsv(0, 94%, 20%)
CMYKcmyk(0%, 94.2%, 94.2%, 79.6%)
CIE-LABlab(7.24, 24.25, 10.15)
CIE-LCHlch(7.24, 26.29, 22.70°)
OKLaboklab(20.96% 0.0695 0.036)
OKLCHoklch(20.96% 0.078 27.4)
XYZxyz(1.4654, 0.8020, 0.1638)
Luminance0.0080 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340303 #033434
analogous
#34031B #340303 #341B03
triadic
#340303 #033403 #030334
tetradic
#340303 #1B3403 #033434 #1B0334
square
#340303 #1B3403 #033434 #1B0334
split-complementary
#340303 #03341B #031B34
monochromatic
#1D0202 #1D0202 #340303 #6E0606 #A80A0A

Accessibility & contrast

On white

18.10
#340303 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#340303 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340303
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340303#FFFFFF#000000##FFFFFF
##3403031.0018.101.1618.10
#FFFFFF18.101.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#120F03
Deuteranopia (green-blind)
#1E1A02
Tritanopia (blue-blind)
#3A0004
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #340303;
/* rgb */ color: rgb(52, 3, 3);
/* oklch */ color: oklch(21.0% 0.078 27.4);
Tailwind
colors: {
  custom: {
    50: '#704848',
    500: '#340303',
    950: '#000000',
  },
}
SCSS
$custom: #340303;
$custom-light: #704848;
$custom-dark: #000000;
JSON
{
  "hex": "#340303",
  "rgb": {
    "r": 52,
    "g": 3,
    "b": 3
  },
  "hsl": {
    "h": 0,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20959,
    "c": 0.0783,
    "h": 27.4
  },
  "luminance": 0.00802
}

Semantic roles & 50–950 ramp

primary
#340303
secondary
#1C7777
accent
#FFFF29
background
#F7F4F4
surface
#EDE6E6
border
#C8C2C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340303

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

Preview Lab → · Contrast checker → · Palette generator →

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