#340826#340826

#340826 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.9% C 0.080 H 343.4°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#340826
RGBrgb(52, 8, 38)
HSLhsl(319, 73%, 12%)
HSVhsv(319, 85%, 20%)
CMYKcmyk(0%, 84.6%, 26.9%, 79.6%)
CIE-LABlab(9.35, 25.29, -8.50)
CIE-LCHlch(9.35, 26.68, 341.42°)
OKLaboklab(22.91% 0.0762 -0.0227)
OKLCHoklch(22.91% 0.08 343.4)
XYZxyz(1.8529, 1.0439, 1.9372)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340826 #083416
analogous
#2C0834 #340826 #340810
triadic
#340826 #263408 #082634
tetradic
#340826 #342C08 #083416 #081034
square
#340826 #342C08 #083416 #081034
split-complementary
#340826 #103408 #08342C
monochromatic
#1B0413 #1B0413 #340826 #69104D #9E1874

Accessibility & contrast

On white

17.37
#340826 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#340826 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340826
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340826#FFFFFF#000000##FFFFFF
##3408261.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1627
Deuteranopia (green-blind)
#1A1D25
Tritanopia (blue-blind)
#380815
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340826;
/* rgb */ color: rgb(52, 8, 38);
/* oklch */ color: oklch(22.9% 0.080 343.4);
Tailwind
colors: {
  custom: {
    50: '#6e4c60',
    500: '#340826',
    950: '#000000',
  },
}
SCSS
$custom: #340826;
$custom-light: #6e4c60;
$custom-dark: #000000;
JSON
{
  "hex": "#340826",
  "rgb": {
    "r": 52,
    "g": 8,
    "b": 38
  },
  "hsl": {
    "h": 319.091,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22906,
    "c": 0.0795,
    "h": 343.4
  },
  "luminance": 0.01044
}

Semantic roles & 50–950 ramp

primary
#340826
secondary
#25733E
accent
#F07238
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340826

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

Preview Lab → · Contrast checker → · Palette generator →

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