#340E21#340E21

#340E21 is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 23.5% C 0.066 H 352.3°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#340E21
RGBrgb(52, 14, 33)
HSLhsl(330, 58%, 13%)
HSVhsv(330, 73%, 20%)
CMYKcmyk(0%, 73.1%, 36.5%, 79.6%)
CIE-LABlab(10.21, 21.45, -3.42)
CIE-LCHlch(10.21, 21.72, 350.94°)
OKLaboklab(23.46% 0.0653 -0.0088)
OKLCHoklch(23.46% 0.066 352.3)
XYZxyz(1.8478, 1.1541, 1.5640)
Luminance0.0115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340E21 #0E3421
analogous
#340E34 #340E21 #340E0E
triadic
#340E21 #21340E #0E2134
tetradic
#340E21 #34340E #0E3421 #0E0E34
square
#340E21 #34340E #0E3421 #0E0E34
split-complementary
#340E21 #0E340E #0E3434
monochromatic
#18060F #18060F #340E21 #641B40 #94285E

Accessibility & contrast

On white

17.06
#340E21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340E21
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340E21#FFFFFF#000000##FFFFFF
##340E211.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #340e21;
/* rgb */ color: rgb(52, 14, 33);
/* oklch */ color: oklch(23.5% 0.066 352.3);
Tailwind
colors: {
  custom: {
    50: '#6d4f5c',
    500: '#340e21',
    950: '#000000',
  },
}
SCSS
$custom: #340e21;
$custom-light: #6d4f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#340e21",
  "rgb": {
    "r": 52,
    "g": 14,
    "b": 33
  },
  "hsl": {
    "h": 330,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23463,
    "c": 0.06586,
    "h": 352.3
  },
  "luminance": 0.01154
}

Semantic roles & 50–950 ramp

primary
#340E21
secondary
#2F6F4F
accent
#E19447
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #340E21

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

Preview Lab → · Contrast checker → · Palette generator →

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