#340319#340319

#340319 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.6% C 0.080 H 358.7°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#340319
RGBrgb(52, 3, 25)
HSLhsl(333, 89%, 11%)
HSVhsv(333, 94%, 20%)
CMYKcmyk(0%, 94.2%, 51.9%, 79.6%)
CIE-LABlab(7.82, 26.12, -0.83)
CIE-LCHlch(7.82, 26.13, 358.18°)
OKLaboklab(21.59% 0.0805 -0.0019)
OKLCHoklch(21.59% 0.08 358.7)
XYZxyz(1.6243, 0.8656, 1.0011)
Luminance0.0086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340319 #03341E
analogous
#340331 #340319 #340503
triadic
#340319 #193403 #031934
tetradic
#340319 #313403 #03341E #050334
square
#340319 #313403 #03341E #050334
split-complementary
#340319 #033405 #033134
monochromatic
#1D020E #1D020E #340319 #6E0635 #A80A51

Accessibility & contrast

On white

17.90
#340319 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340319
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340319#FFFFFF#000000##FFFFFF
##3403191.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D111A
Deuteranopia (green-blind)
#1B1B18
Tritanopia (blue-blind)
#39000C
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #340319;
/* rgb */ color: rgb(52, 3, 25);
/* oklch */ color: oklch(21.6% 0.080 358.7);
Tailwind
colors: {
  custom: {
    50: '#6f4955',
    500: '#340319',
    950: '#000000',
  },
}
SCSS
$custom: #340319;
$custom-light: #6f4955;
$custom-dark: #000000;
JSON
{
  "hex": "#340319",
  "rgb": {
    "r": 52,
    "g": 3,
    "b": 25
  },
  "hsl": {
    "h": 333.061,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21592,
    "c": 0.08048,
    "h": 358.7
  },
  "luminance": 0.00865
}

Semantic roles & 50–950 ramp

primary
#340319
secondary
#1C774E
accent
#FF9F29
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080103
muted
#7B7778

Preview Lab

Preview with #340319

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

Preview Lab → · Contrast checker → · Palette generator →

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