#340112#340112

#340112 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.0% C 0.082 H 6.7°. Best body text is #FFFFFF at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#340112
RGBrgb(52, 1, 18)
HSLhsl(340, 96%, 10%)
HSVhsv(340, 98%, 20%)
CMYKcmyk(0%, 98.1%, 65.4%, 79.6%)
CIE-LABlab(7.19, 26.48, 3.17)
CIE-LCHlch(7.19, 26.67, 6.83°)
OKLaboklab(21.03% 0.0813 0.0096)
OKLCHoklch(21.03% 0.082 6.7)
XYZxyz(1.5364, 0.7957, 0.6448)
Luminance0.0080 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340112 #013423
analogous
#34012B #340112 #340901
triadic
#340112 #123401 #011234
tetradic
#340112 #2B3401 #013423 #090134
square
#340112 #2B3401 #013423 #090134
split-complementary
#340112 #013409 #012B34
monochromatic
#1E010A #1E010A #340112 #700227 #AC033C

Accessibility & contrast

On white

18.12
#340112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340112
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340112#FFFFFF#000000##FFFFFF
##3401121.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0F12
Deuteranopia (green-blind)
#1C1A11
Tritanopia (blue-blind)
#3A0007
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #340112;
/* rgb */ color: rgb(52, 1, 18);
/* oklch */ color: oklch(21.0% 0.082 6.7);
Tailwind
colors: {
  custom: {
    50: '#70474f',
    500: '#340112',
    950: '#000000',
  },
}
SCSS
$custom: #340112;
$custom-light: #70474f;
$custom-dark: #000000;
JSON
{
  "hex": "#340112",
  "rgb": {
    "r": 52,
    "g": 1,
    "b": 18
  },
  "hsl": {
    "h": 340,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21029,
    "c": 0.08183,
    "h": 6.7
  },
  "luminance": 0.00795
}

Semantic roles & 50–950 ramp

primary
#340112
secondary
#187959
accent
#FFB829
background
#F7F4F4
surface
#EDE6E7
border
#C8C2C3
text
#080002
muted
#7B7778

Preview Lab

Preview with #340112

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

Preview Lab → · Contrast checker → · Palette generator →

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