#340D23#340D23

#340D23 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.4% C 0.069 H 348.8°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#340D23
RGBrgb(52, 13, 35)
HSLhsl(326, 60%, 13%)
HSVhsv(326, 75%, 20%)
CMYKcmyk(0%, 75%, 32.7%, 79.6%)
CIE-LABlab(10.10, 22.31, -5.09)
CIE-LCHlch(10.10, 22.88, 347.14°)
OKLaboklab(23.41% 0.0677 -0.0133)
OKLCHoklch(23.41% 0.069 348.8)
XYZxyz(1.8635, 1.1395, 1.7116)
Luminance0.0114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340D23 #0D341E
analogous
#310D34 #340D23 #340D0F
triadic
#340D23 #23340D #0D2334
tetradic
#340D23 #34310D #0D341E #0D0F34
square
#340D23 #34310D #0D341E #0D0F34
split-complementary
#340D23 #0F340D #0D3431
monochromatic
#180610 #180610 #340D23 #651944 #962565

Accessibility & contrast

On white

17.10
#340D23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340D23
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340D23#FFFFFF#000000##FFFFFF
##340D231.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121724
Deuteranopia (green-blind)
#1D1E22
Tritanopia (blue-blind)
#380C16
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #340d23;
/* rgb */ color: rgb(52, 13, 35);
/* oklch */ color: oklch(23.4% 0.069 348.8);
Tailwind
colors: {
  custom: {
    50: '#6d4e5d',
    500: '#340d23',
    950: '#000000',
  },
}
SCSS
$custom: #340d23;
$custom-light: #6d4e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#340d23",
  "rgb": {
    "r": 52,
    "g": 13,
    "b": 35
  },
  "hsl": {
    "h": 326.154,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23409,
    "c": 0.06896,
    "h": 348.8
  },
  "luminance": 0.01139
}

Semantic roles & 50–950 ramp

primary
#340D23
secondary
#2D6F4A
accent
#E38A45
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #340D23

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

Preview Lab → · Contrast checker → · Palette generator →

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