#340412#340412

#340412 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.5% C 0.076 H 8.8°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#340412
RGBrgb(52, 4, 18)
HSLhsl(343, 86%, 11%)
HSVhsv(343, 92%, 20%)
CMYKcmyk(0%, 92.3%, 65.4%, 79.6%)
CIE-LABlab(7.78, 24.83, 4.03)
CIE-LCHlch(7.78, 25.15, 9.21°)
OKLaboklab(21.48% 0.0755 0.0117)
OKLCHoklch(21.48% 0.076 8.8)
XYZxyz(1.5689, 0.8608, 0.6557)
Luminance0.0086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340412 #043426
analogous
#34042A #340412 #340E04
triadic
#340412 #123404 #041234
tetradic
#340412 #2A3404 #043426 #0E0434
square
#340412 #2A3404 #043426 #0E0434
split-complementary
#340412 #04340E #042A34
monochromatic
#1C020A #1C020A #340412 #6D0826 #A60D39

Accessibility & contrast

On white

17.92
#340412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340412
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340412#FFFFFF#000000##FFFFFF
##3404121.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #340412;
/* rgb */ color: rgb(52, 4, 18);
/* oklch */ color: oklch(21.5% 0.076 8.8);
Tailwind
colors: {
  custom: {
    50: '#6f494f',
    500: '#340412',
    950: '#000000',
  },
}
SCSS
$custom: #340412;
$custom-light: #6f494f;
$custom-dark: #000000;
JSON
{
  "hex": "#340412",
  "rgb": {
    "r": 52,
    "g": 4,
    "b": 18
  },
  "hsl": {
    "h": 342.5,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21481,
    "c": 0.07644,
    "h": 8.8
  },
  "luminance": 0.00861
}

Semantic roles & 50–950 ramp

primary
#340412
secondary
#1E765C
accent
#FCBF2C
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340412

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

Preview Lab → · Contrast checker → · Palette generator →

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