#340A24#340A24

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

Color values

HEX#340A24
RGBrgb(52, 10, 36)
HSLhsl(323, 68%, 12%)
HSVhsv(323, 81%, 20%)
CMYKcmyk(0%, 80.8%, 30.8%, 79.6%)
CIE-LABlab(9.60, 23.99, -6.61)
CIE-LCHlch(9.60, 24.89, 344.59°)
OKLaboklab(23.05% 0.0727 -0.0175)
OKLCHoklch(23.05% 0.075 346.5)
XYZxyz(1.8432, 1.0747, 1.7791)
Luminance0.0107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340A24 #0A341A
analogous
#2F0A34 #340A24 #340A0F
triadic
#340A24 #24340A #0A2434
tetradic
#340A24 #342F0A #0A341A #0A0F34
square
#340A24 #342F0A #0A341A #0A0F34
split-complementary
#340A24 #0F340A #0A342F
monochromatic
#1A0512 #1A0512 #340A24 #671448 #9B1E6B

Accessibility & contrast

On white

17.28
#340A24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#340A24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340A24
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340A24#FFFFFF#000000##FFFFFF
##340A241.0017.281.2117.28
#FFFFFF17.281.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1625
Deuteranopia (green-blind)
#1B1D23
Tritanopia (blue-blind)
#380915
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340a24;
/* rgb */ color: rgb(52, 10, 36);
/* oklch */ color: oklch(23.1% 0.075 346.5);
Tailwind
colors: {
  custom: {
    50: '#6e4d5e',
    500: '#340a24',
    950: '#000000',
  },
}
SCSS
$custom: #340a24;
$custom-light: #6e4d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#340a24",
  "rgb": {
    "r": 52,
    "g": 10,
    "b": 36
  },
  "hsl": {
    "h": 322.857,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23054,
    "c": 0.07474,
    "h": 346.5
  },
  "luminance": 0.01075
}

Semantic roles & 50–950 ramp

primary
#340A24
secondary
#287144
accent
#EB7F3D
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340A24

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

Preview Lab → · Contrast checker → · Palette generator →

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