#340512#340512

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

Color values

HEX#340512
RGBrgb(52, 5, 18)
HSLhsl(343, 82%, 11%)
HSVhsv(343, 90%, 20%)
CMYKcmyk(0%, 90.4%, 65.4%, 79.6%)
CIE-LABlab(7.97, 24.28, 4.31)
CIE-LCHlch(7.97, 24.66, 10.08°)
OKLaboklab(21.63% 0.0737 0.0123)
OKLCHoklch(21.63% 0.075 9.5)
XYZxyz(1.5798, 0.8825, 0.6593)
Luminance0.0088 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340512 #053427
analogous
#340529 #340512 #340F05
triadic
#340512 #123405 #051234
tetradic
#340512 #293405 #053427 #0F0534
square
#340512 #293405 #053427 #0F0534
split-complementary
#340512 #05340F #052934
monochromatic
#1C030A #1C030A #340512 #6C0A25 #A41039

Accessibility & contrast

On white

17.85
#340512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#340512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340512
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340512#FFFFFF#000000##FFFFFF
##3405121.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #340512;
/* rgb */ color: rgb(52, 5, 18);
/* oklch */ color: oklch(21.6% 0.075 9.5);
Tailwind
colors: {
  custom: {
    50: '#6f494f',
    500: '#340512',
    950: '#000000',
  },
}
SCSS
$custom: #340512;
$custom-light: #6f494f;
$custom-dark: #000000;
JSON
{
  "hex": "#340512",
  "rgb": {
    "r": 52,
    "g": 5,
    "b": 18
  },
  "hsl": {
    "h": 343.404,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21627,
    "c": 0.07476,
    "h": 9.5
  },
  "luminance": 0.00882
}

Semantic roles & 50–950 ramp

primary
#340512
secondary
#1F755E
accent
#F9C12F
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340512

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

Preview Lab → · Contrast checker → · Palette generator →

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