#340B25#340B25

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

Color values

HEX#340B25
RGBrgb(52, 11, 37)
HSLhsl(322, 65%, 12%)
HSVhsv(322, 79%, 20%)
CMYKcmyk(0%, 78.8%, 28.8%, 79.6%)
CIE-LABlab(9.82, 23.67, -7.03)
CIE-LCHlch(9.82, 24.69, 343.47°)
OKLaboklab(23.23% 0.0715 -0.0186)
OKLCHoklch(23.23% 0.074 345.4)
XYZxyz(1.8698, 1.1032, 1.8644)
Luminance0.0110 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340B25 #0B341A
analogous
#2E0B34 #340B25 #340B11
triadic
#340B25 #25340B #0B2534
tetradic
#340B25 #342E0B #0B341A #0B1134
square
#340B25 #342E0B #0B341A #0B1134
split-complementary
#340B25 #11340B #0B342E
monochromatic
#190512 #190512 #340B25 #671649 #99206D

Accessibility & contrast

On white

17.20
#340B25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340B25
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340B25#FFFFFF#000000##FFFFFF
##340B251.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1726
Deuteranopia (green-blind)
#1B1E24
Tritanopia (blue-blind)
#380A16
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340b25;
/* rgb */ color: rgb(52, 11, 37);
/* oklch */ color: oklch(23.2% 0.074 345.4);
Tailwind
colors: {
  custom: {
    50: '#6d4d5f',
    500: '#340b25',
    950: '#000000',
  },
}
SCSS
$custom: #340b25;
$custom-light: #6d4d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#340b25",
  "rgb": {
    "r": 52,
    "g": 11,
    "b": 37
  },
  "hsl": {
    "h": 321.951,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23234,
    "c": 0.07384,
    "h": 345.4
  },
  "luminance": 0.01103
}

Semantic roles & 50–950 ramp

primary
#340B25
secondary
#2A7144
accent
#E87D40
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340B25

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

Preview Lab → · Contrast checker → · Palette generator →

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