#340326#340326

#340326 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 22.2% C 0.088 H 342.4°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#340326
RGBrgb(52, 3, 38)
HSLhsl(317, 89%, 11%)
HSVhsv(317, 94%, 20%)
CMYKcmyk(0%, 94.2%, 26.9%, 79.6%)
CIE-LABlab(8.44, 27.90, -9.91)
CIE-LCHlch(8.44, 29.60, 340.44°)
OKLaboklab(22.25% 0.0842 -0.0266)
OKLCHoklch(22.25% 0.088 342.4)
XYZxyz(1.7987, 0.9353, 1.9192)
Luminance0.0094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340326 #033411
analogous
#290334 #340326 #34030D
triadic
#340326 #263403 #032634
tetradic
#340326 #342903 #033411 #030D34
square
#340326 #342903 #033411 #030D34
split-complementary
#340326 #0D3403 #033429
monochromatic
#1D0215 #1D0215 #340326 #6E0650 #A80A7B

Accessibility & contrast

On white

17.69
#340326 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#340326 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340326
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340326#FFFFFF#000000##FFFFFF
##3403261.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071327
Deuteranopia (green-blind)
#181B25
Tritanopia (blue-blind)
#380313
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #340326;
/* rgb */ color: rgb(52, 3, 38);
/* oklch */ color: oklch(22.2% 0.088 342.4);
Tailwind
colors: {
  custom: {
    50: '#6e4960',
    500: '#340326',
    950: '#000000',
  },
}
SCSS
$custom: #340326;
$custom-light: #6e4960;
$custom-dark: #000000;
JSON
{
  "hex": "#340326",
  "rgb": {
    "r": 52,
    "g": 3,
    "b": 38
  },
  "hsl": {
    "h": 317.143,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22247,
    "c": 0.08828,
    "h": 342.4
  },
  "luminance": 0.00935
}

Semantic roles & 50–950 ramp

primary
#340326
secondary
#1C7736
accent
#FF6629
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340326

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

Preview Lab → · Contrast checker → · Palette generator →

#340326 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva