#340B24#340B24

#340B24 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.2% C 0.073 H 346.7°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#340B24
RGBrgb(52, 11, 36)
HSLhsl(323, 65%, 12%)
HSVhsv(323, 79%, 20%)
CMYKcmyk(0%, 78.8%, 30.8%, 79.6%)
CIE-LABlab(9.77, 23.51, -6.35)
CIE-LCHlch(9.77, 24.35, 344.89°)
OKLaboklab(23.18% 0.0712 -0.0168)
OKLCHoklch(23.18% 0.073 346.7)
XYZxyz(1.8544, 1.0970, 1.7828)
Luminance0.0110 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340B24 #0B341B
analogous
#300B34 #340B24 #340B0F
triadic
#340B24 #24340B #0B2434
tetradic
#340B24 #34300B #0B341B #0B0F34
square
#340B24 #34300B #0B341B #0B0F34
split-complementary
#340B24 #0F340B #0B3430
monochromatic
#190511 #190511 #340B24 #671647 #99206A

Accessibility & contrast

On white

17.22
#340B24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#340B24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340B24
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340B24#FFFFFF#000000##FFFFFF
##340B241.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101725
Deuteranopia (green-blind)
#1C1E23
Tritanopia (blue-blind)
#380A16
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340b24;
/* rgb */ color: rgb(52, 11, 36);
/* oklch */ color: oklch(23.2% 0.073 346.7);
Tailwind
colors: {
  custom: {
    50: '#6d4d5e',
    500: '#340b24',
    950: '#000000',
  },
}
SCSS
$custom: #340b24;
$custom-light: #6d4d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#340b24",
  "rgb": {
    "r": 52,
    "g": 11,
    "b": 36
  },
  "hsl": {
    "h": 323.415,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23183,
    "c": 0.0731,
    "h": 346.7
  },
  "luminance": 0.01097
}

Semantic roles & 50–950 ramp

primary
#340B24
secondary
#2A7146
accent
#E88140
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340B24

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

Preview Lab → · Contrast checker → · Palette generator →

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