#340216#340216

#340216 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.3% C 0.081 H 2.1°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#340216
RGBrgb(52, 2, 22)
HSLhsl(336, 93%, 11%)
HSVhsv(336, 96%, 20%)
CMYKcmyk(0%, 96.2%, 57.7%, 79.6%)
CIE-LABlab(7.51, 26.34, 0.99)
CIE-LCHlch(7.51, 26.36, 2.16°)
OKLaboklab(21.33% 0.0811 0.003)
OKLCHoklch(21.33% 0.081 2.1)
XYZxyz(1.5828, 0.8316, 0.8361)
Luminance0.0083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340216 #023420
analogous
#34022F #340216 #340702
triadic
#340216 #163402 #021634
tetradic
#340216 #2F3402 #023420 #070234
square
#340216 #2F3402 #023420 #070234
split-complementary
#340216 #023407 #022F34
monochromatic
#1D010C #1D010C #340216 #6F042F #AA0748

Accessibility & contrast

On white

18.01
#340216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340216
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340216#FFFFFF#000000##FFFFFF
##3402161.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1016
Deuteranopia (green-blind)
#1C1A15
Tritanopia (blue-blind)
#3A000A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #340216;
/* rgb */ color: rgb(52, 2, 22);
/* oklch */ color: oklch(21.3% 0.081 2.1);
Tailwind
colors: {
  custom: {
    50: '#6f4852',
    500: '#340216',
    950: '#000000',
  },
}
SCSS
$custom: #340216;
$custom-light: #6f4852;
$custom-dark: #000000;
JSON
{
  "hex": "#340216",
  "rgb": {
    "r": 52,
    "g": 2,
    "b": 22
  },
  "hsl": {
    "h": 336,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21325,
    "c": 0.08117,
    "h": 2.1
  },
  "luminance": 0.00831
}

Semantic roles & 50–950 ramp

primary
#340216
secondary
#1A7852
accent
#FFA929
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340216

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

Preview Lab → · Contrast checker → · Palette generator →

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