#340116#340116

#340116 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.2% C 0.083 H 1.5°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#340116
RGBrgb(52, 1, 22)
HSLhsl(335, 96%, 10%)
HSVhsv(335, 98%, 20%)
CMYKcmyk(0%, 98.1%, 57.7%, 79.6%)
CIE-LABlab(7.32, 26.89, 0.71)
CIE-LCHlch(7.32, 26.90, 1.50°)
OKLaboklab(21.17% 0.083 0.0022)
OKLCHoklch(21.17% 0.083 1.5)
XYZxyz(1.5720, 0.8099, 0.8325)
Luminance0.0081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340116 #01341F
analogous
#34012F #340116 #340501
triadic
#340116 #163401 #011634
tetradic
#340116 #2F3401 #01341F #050134
square
#340116 #2F3401 #01341F #050134
split-complementary
#340116 #013405 #012F34
monochromatic
#1E010D #1E010D #340116 #70022F #AC0349

Accessibility & contrast

On white

18.07
#340116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340116
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340116#FFFFFF#000000##FFFFFF
##3401161.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0F16
Deuteranopia (green-blind)
#1B1A15
Tritanopia (blue-blind)
#3A0009
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #340116;
/* rgb */ color: rgb(52, 1, 22);
/* oklch */ color: oklch(21.2% 0.083 1.5);
Tailwind
colors: {
  custom: {
    50: '#6f4752',
    500: '#340116',
    950: '#000000',
  },
}
SCSS
$custom: #340116;
$custom-light: #6f4752;
$custom-dark: #000000;
JSON
{
  "hex": "#340116",
  "rgb": {
    "r": 52,
    "g": 1,
    "b": 22
  },
  "hsl": {
    "h": 335.294,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21174,
    "c": 0.08307,
    "h": 1.5
  },
  "luminance": 0.0081
}

Semantic roles & 50–950 ramp

primary
#340116
secondary
#187951
accent
#FFA729
background
#F7F4F4
surface
#EDE6E7
border
#C8C2C3
text
#080002
muted
#7B7778

Preview Lab

Preview with #340116

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

Preview Lab → · Contrast checker → · Palette generator →

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