#340E23#340E23

#340E23 is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 23.6% C 0.067 H 349.2°. Best body text is #FFFFFF at 17.03:1 contrast (WCAG AA passes).

Color values

HEX#340E23
RGBrgb(52, 14, 35)
HSLhsl(327, 58%, 13%)
HSVhsv(327, 73%, 20%)
CMYKcmyk(0%, 73.1%, 32.7%, 79.6%)
CIE-LABlab(10.30, 21.77, -4.79)
CIE-LCHlch(10.30, 22.29, 347.58°)
OKLaboklab(23.56% 0.066 -0.0125)
OKLCHoklch(23.56% 0.067 349.2)
XYZxyz(1.8767, 1.1657, 1.7159)
Luminance0.0117 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340E23 #0E341F
analogous
#320E34 #340E23 #340E10
triadic
#340E23 #23340E #0E2334
tetradic
#340E23 #34320E #0E341F #0E1034
square
#340E23 #34320E #0E341F #0E1034
split-complementary
#340E23 #10340E #0E3432
monochromatic
#180610 #180610 #340E23 #641B43 #942864

Accessibility & contrast

On white

17.03
#340E23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340E23
17.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340E23#FFFFFF#000000##FFFFFF
##340E231.0017.031.2317.03
#FFFFFF17.031.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131824
Deuteranopia (green-blind)
#1D1F22
Tritanopia (blue-blind)
#380D17
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #340e23;
/* rgb */ color: rgb(52, 14, 35);
/* oklch */ color: oklch(23.6% 0.067 349.2);
Tailwind
colors: {
  custom: {
    50: '#6d4f5d',
    500: '#340e23',
    950: '#000000',
  },
}
SCSS
$custom: #340e23;
$custom-light: #6d4f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#340e23",
  "rgb": {
    "r": 52,
    "g": 14,
    "b": 35
  },
  "hsl": {
    "h": 326.842,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23556,
    "c": 0.06717,
    "h": 349.2
  },
  "luminance": 0.01165
}

Semantic roles & 50–950 ramp

primary
#340E23
secondary
#2F6F4C
accent
#E18C47
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #340E23

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

Preview Lab → · Contrast checker → · Palette generator →

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