#340E2B#340E2B

#340E2B is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 24.0% C 0.074 H 338.1°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#340E2B
RGBrgb(52, 14, 43)
HSLhsl(314, 58%, 13%)
HSVhsv(314, 73%, 20%)
CMYKcmyk(0%, 73.1%, 17.3%, 79.6%)
CIE-LABlab(10.69, 23.19, -10.16)
CIE-LCHlch(10.69, 25.32, 336.33°)
OKLaboklab(23.97% 0.0683 -0.0275)
OKLCHoklch(23.97% 0.074 338.1)
XYZxyz(2.0093, 1.2187, 2.4144)
Luminance0.0122 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340E2B #0E3417
analogous
#2A0E34 #340E2B #340E18
triadic
#340E2B #2B340E #0E2B34
tetradic
#340E2B #342A0E #0E3417 #0E1834
square
#340E2B #342A0E #0E3417 #0E1834
split-complementary
#340E2B #18340E #0E342A
monochromatic
#180614 #180614 #340E2B #641B53 #94287B

Accessibility & contrast

On white

16.88
#340E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#340E2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340E2B
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340E2B#FFFFFF#000000##FFFFFF
##340E2B1.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F192C
Deuteranopia (green-blind)
#1B1F2A
Tritanopia (blue-blind)
#370F1A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #340e2b;
/* rgb */ color: rgb(52, 14, 43);
/* oklch */ color: oklch(24.0% 0.074 338.1);
Tailwind
colors: {
  custom: {
    50: '#6d4f64',
    500: '#340e2b',
    950: '#000000',
  },
}
SCSS
$custom: #340e2b;
$custom-light: #6d4f64;
$custom-dark: #000000;
JSON
{
  "hex": "#340e2b",
  "rgb": {
    "r": 52,
    "g": 14,
    "b": 43
  },
  "hsl": {
    "h": 314.211,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23974,
    "c": 0.07359,
    "h": 338.1
  },
  "luminance": 0.01219
}

Semantic roles & 50–950 ramp

primary
#340E2B
secondary
#2F6F3E
accent
#E16B47
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#070205
muted
#7A7879

Preview Lab

Preview with #340E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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