#340B2B#340B2B

#340B2B is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.6% C 0.079 H 337.7°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#340B2B
RGBrgb(52, 11, 43)
HSLhsl(313, 65%, 12%)
HSVhsv(313, 79%, 20%)
CMYKcmyk(0%, 78.8%, 17.3%, 79.6%)
CIE-LABlab(10.14, 24.73, -11.03)
CIE-LCHlch(10.14, 27.07, 335.97°)
OKLaboklab(23.57% 0.0729 -0.0299)
OKLCHoklch(23.57% 0.079 337.7)
XYZxyz(1.9719, 1.1440, 2.4020)
Luminance0.0114 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340B2B #0B3414
analogous
#290B34 #340B2B #340B16
triadic
#340B2B #2B340B #0B2B34
tetradic
#340B2B #34290B #0B3414 #0B1634
square
#340B2B #34290B #0B3414 #0B1634
split-complementary
#340B2B #16340B #0B3429
monochromatic
#190515 #190515 #340B2B #671655 #99207F

Accessibility & contrast

On white

17.09
#340B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#340B2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340B2B
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340B2B#FFFFFF#000000##FFFFFF
##340B2B1.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C182C
Deuteranopia (green-blind)
#191E2A
Tritanopia (blue-blind)
#370D19
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #340b2b;
/* rgb */ color: rgb(52, 11, 43);
/* oklch */ color: oklch(23.6% 0.079 337.7);
Tailwind
colors: {
  custom: {
    50: '#6d4e64',
    500: '#340b2b',
    950: '#000000',
  },
}
SCSS
$custom: #340b2b;
$custom-light: #6d4e64;
$custom-dark: #000000;
JSON
{
  "hex": "#340b2b",
  "rgb": {
    "r": 52,
    "g": 11,
    "b": 43
  },
  "hsl": {
    "h": 313.171,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23567,
    "c": 0.07875,
    "h": 337.7
  },
  "luminance": 0.01144
}

Semantic roles & 50–950 ramp

primary
#340B2B
secondary
#2A713A
accent
#E86540
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070205
muted
#7A787A

Preview Lab

Preview with #340B2B

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

Preview Lab → · Contrast checker → · Palette generator →

#340B2B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva