#340A15#340A15

#340A15 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.4% C 0.068 H 8.7°. Best body text is #FFFFFF at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#340A15
RGBrgb(52, 10, 21)
HSLhsl(344, 68%, 12%)
HSVhsv(344, 81%, 20%)
CMYKcmyk(0%, 80.8%, 59.6%, 79.6%)
CIE-LABlab(9.00, 21.96, 3.86)
CIE-LCHlch(9.00, 22.29, 9.98°)
OKLaboklab(22.42% 0.0667 0.0103)
OKLCHoklch(22.42% 0.068 8.7)
XYZxyz(1.6602, 1.0015, 0.8152)
Luminance0.0100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340A15 #0A3429
analogous
#340A2A #340A15 #34140A
triadic
#340A15 #15340A #0A1534
tetradic
#340A15 #2A340A #0A3429 #140A34
square
#340A15 #2A340A #0A3429 #140A34
split-complementary
#340A15 #0A3414 #0A2A34
monochromatic
#1A050A #1A050A #340A15 #67142A #9B1E3E

Accessibility & contrast

On white

17.50
#340A15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#340A15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340A15
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340A15#FFFFFF#000000##FFFFFF
##340A151.0017.501.2017.50
#FFFFFF17.501.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141415
Deuteranopia (green-blind)
#1F1D14
Tritanopia (blue-blind)
#39040E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340a15;
/* rgb */ color: rgb(52, 10, 21);
/* oklch */ color: oklch(22.4% 0.068 8.7);
Tailwind
colors: {
  custom: {
    50: '#6f4c52',
    500: '#340a15',
    950: '#000000',
  },
}
SCSS
$custom: #340a15;
$custom-light: #6f4c52;
$custom-dark: #000000;
JSON
{
  "hex": "#340a15",
  "rgb": {
    "r": 52,
    "g": 10,
    "b": 21
  },
  "hsl": {
    "h": 344.286,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2242,
    "c": 0.06753,
    "h": 8.7
  },
  "luminance": 0.01001
}

Semantic roles & 50–950 ramp

primary
#340A15
secondary
#28715E
accent
#EBBD3D
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340A15

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

Preview Lab → · Contrast checker → · Palette generator →

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