#340316#340316

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

Color values

HEX#340316
RGBrgb(52, 3, 22)
HSLhsl(337, 89%, 11%)
HSVhsv(337, 94%, 20%)
CMYKcmyk(0%, 94.2%, 57.7%, 79.6%)
CIE-LABlab(7.71, 25.79, 1.28)
CIE-LCHlch(7.71, 25.82, 2.84°)
OKLaboklab(21.47% 0.0792 0.0037)
OKLCHoklch(21.47% 0.079 2.7)
XYZxyz(1.5937, 0.8533, 0.8397)
Luminance0.0085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340316 #033421
analogous
#34032E #340316 #340803
triadic
#340316 #163403 #031634
tetradic
#340316 #2E3403 #033421 #080334
square
#340316 #2E3403 #033421 #080334
split-complementary
#340316 #033408 #032E34
monochromatic
#1D020C #1D020C #340316 #6E062E #A80A47

Accessibility & contrast

On white

17.94
#340316 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340316
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340316#FFFFFF#000000##FFFFFF
##3403161.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #340316;
/* rgb */ color: rgb(52, 3, 22);
/* oklch */ color: oklch(21.5% 0.079 2.7);
Tailwind
colors: {
  custom: {
    50: '#6f4852',
    500: '#340316',
    950: '#000000',
  },
}
SCSS
$custom: #340316;
$custom-light: #6f4852;
$custom-dark: #000000;
JSON
{
  "hex": "#340316",
  "rgb": {
    "r": 52,
    "g": 3,
    "b": 22
  },
  "hsl": {
    "h": 336.735,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21473,
    "c": 0.07931,
    "h": 2.7
  },
  "luminance": 0.00853
}

Semantic roles & 50–950 ramp

primary
#340316
secondary
#1C7754
accent
#FFAC29
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340316

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

Preview Lab → · Contrast checker → · Palette generator →

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