#340B23#340B23

#340B23 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.1% C 0.072 H 348.1°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#340B23
RGBrgb(52, 11, 35)
HSLhsl(325, 65%, 12%)
HSVhsv(325, 79%, 20%)
CMYKcmyk(0%, 78.8%, 32.7%, 79.6%)
CIE-LABlab(9.73, 23.34, -5.66)
CIE-LCHlch(9.73, 24.02, 346.36°)
OKLaboklab(23.13% 0.0709 -0.0149)
OKLCHoklch(23.13% 0.072 348.1)
XYZxyz(1.8393, 1.0910, 1.7035)
Luminance0.0109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340B23 #0B341C
analogous
#310B34 #340B23 #340B0F
triadic
#340B23 #23340B #0B2334
tetradic
#340B23 #34310B #0B341C #0B0F34
square
#340B23 #34310B #0B341C #0B0F34
split-complementary
#340B23 #0F340B #0B3431
monochromatic
#190511 #190511 #340B23 #671645 #992067

Accessibility & contrast

On white

17.24
#340B23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340B23
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340B23#FFFFFF#000000##FFFFFF
##340B231.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101624
Deuteranopia (green-blind)
#1C1E22
Tritanopia (blue-blind)
#380A15
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340b23;
/* rgb */ color: rgb(52, 11, 35);
/* oklch */ color: oklch(23.1% 0.072 348.1);
Tailwind
colors: {
  custom: {
    50: '#6e4d5d',
    500: '#340b23',
    950: '#000000',
  },
}
SCSS
$custom: #340b23;
$custom-light: #6e4d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#340b23",
  "rgb": {
    "r": 52,
    "g": 11,
    "b": 35
  },
  "hsl": {
    "h": 324.878,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23133,
    "c": 0.0724,
    "h": 348.1
  },
  "luminance": 0.01091
}

Semantic roles & 50–950 ramp

primary
#340B23
secondary
#2A7147
accent
#E88640
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340B23

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

Preview Lab → · Contrast checker → · Palette generator →

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