#340A26#340A26

#340A26 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.2% C 0.076 H 343.8°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#340A26
RGBrgb(52, 10, 38)
HSLhsl(320, 68%, 12%)
HSVhsv(320, 81%, 20%)
CMYKcmyk(0%, 80.8%, 26.9%, 79.6%)
CIE-LABlab(9.70, 24.32, -7.97)
CIE-LCHlch(9.70, 25.59, 341.86°)
OKLaboklab(23.16% 0.0732 -0.0213)
OKLCHoklch(23.16% 0.076 343.8)
XYZxyz(1.8746, 1.0873, 1.9445)
Luminance0.0109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340A26 #0A3418
analogous
#2D0A34 #340A26 #340A11
triadic
#340A26 #26340A #0A2634
tetradic
#340A26 #342D0A #0A3418 #0A1134
square
#340A26 #342D0A #0A3418 #0A1134
split-complementary
#340A26 #11340A #0A342D
monochromatic
#1A0513 #1A0513 #340A26 #67144C #9B1E71

Accessibility & contrast

On white

17.25
#340A26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#340A26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340A26
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340A26#FFFFFF#000000##FFFFFF
##340A261.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1627
Deuteranopia (green-blind)
#1B1D25
Tritanopia (blue-blind)
#380A16
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340a26;
/* rgb */ color: rgb(52, 10, 38);
/* oklch */ color: oklch(23.2% 0.076 343.8);
Tailwind
colors: {
  custom: {
    50: '#6d4d60',
    500: '#340a26',
    950: '#000000',
  },
}
SCSS
$custom: #340a26;
$custom-light: #6d4d60;
$custom-dark: #000000;
JSON
{
  "hex": "#340a26",
  "rgb": {
    "r": 52,
    "g": 10,
    "b": 38
  },
  "hsl": {
    "h": 320,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23159,
    "c": 0.07622,
    "h": 343.8
  },
  "luminance": 0.01087
}

Semantic roles & 50–950 ramp

primary
#340A26
secondary
#287141
accent
#EB773D
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340A26

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

Preview Lab → · Contrast checker → · Palette generator →

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