#340626#340626

#340626 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.6% C 0.083 H 343.0°. Best body text is #FFFFFF at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#340626
RGBrgb(52, 6, 38)
HSLhsl(318, 79%, 11%)
HSVhsv(318, 88%, 20%)
CMYKcmyk(0%, 88.5%, 26.9%, 79.6%)
CIE-LABlab(8.99, 26.30, -9.05)
CIE-LCHlch(8.99, 27.82, 341.01°)
OKLaboklab(22.65% 0.0793 -0.0242)
OKLCHoklch(22.65% 0.083 343)
XYZxyz(1.8312, 1.0004, 1.9300)
Luminance0.0100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340626 #063414
analogous
#2B0634 #340626 #34060F
triadic
#340626 #263406 #062634
tetradic
#340626 #342B06 #063414 #060F34
square
#340626 #342B06 #063414 #060F34
split-complementary
#340626 #0F3406 #06342B
monochromatic
#1B0314 #1B0314 #340626 #6B0C4E #A21376

Accessibility & contrast

On white

17.50
#340626 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#340626 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##340626#FFFFFF#000000##FFFFFF
##3406261.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)
#0A1527
Deuteranopia (green-blind)
#191C25
Tritanopia (blue-blind)
#380615
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340626;
/* rgb */ color: rgb(52, 6, 38);
/* oklch */ color: oklch(22.6% 0.083 343.0);
Tailwind
colors: {
  custom: {
    50: '#6e4b60',
    500: '#340626',
    950: '#000000',
  },
}
SCSS
$custom: #340626;
$custom-light: #6e4b60;
$custom-dark: #000000;
JSON
{
  "hex": "#340626",
  "rgb": {
    "r": 52,
    "g": 6,
    "b": 38
  },
  "hsl": {
    "h": 318.261,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22648,
    "c": 0.0829,
    "h": 343
  },
  "luminance": 0.01
}

Semantic roles & 50–950 ramp

primary
#340626
secondary
#21743B
accent
#F66E32
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340626

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

Preview Lab → · Contrast checker → · Palette generator →

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