#340126#340126

#340126 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 22.0% C 0.092 H 342.1°. Best body text is #FFFFFF at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#340126
RGBrgb(52, 1, 38)
HSLhsl(316, 96%, 10%)
HSVhsv(316, 98%, 20%)
CMYKcmyk(0%, 98.1%, 26.9%, 79.6%)
CIE-LABlab(8.06, 29.01, -10.51)
CIE-LCHlch(8.06, 30.86, 340.09°)
OKLaboklab(21.97% 0.0876 -0.0283)
OKLCHoklch(21.97% 0.092 342.1)
XYZxyz(1.7770, 0.8919, 1.9119)
Luminance0.0089 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340126 #01340F
analogous
#280134 #340126 #34010C
triadic
#340126 #263401 #012634
tetradic
#340126 #342801 #01340F #010C34
square
#340126 #342801 #01340F #010C34
split-complementary
#340126 #0C3401 #013428
monochromatic
#1E0116 #1E0116 #340126 #700252 #AC037E

Accessibility & contrast

On white

17.82
#340126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#340126 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340126
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340126#FFFFFF#000000##FFFFFF
##3401261.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051227
Deuteranopia (green-blind)
#171B25
Tritanopia (blue-blind)
#380112
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #340126;
/* rgb */ color: rgb(52, 1, 38);
/* oklch */ color: oklch(22.0% 0.092 342.1);
Tailwind
colors: {
  custom: {
    50: '#6e4860',
    500: '#340126',
    950: '#000000',
  },
}
SCSS
$custom: #340126;
$custom-light: #6e4860;
$custom-dark: #000000;
JSON
{
  "hex": "#340126",
  "rgb": {
    "r": 52,
    "g": 1,
    "b": 38
  },
  "hsl": {
    "h": 316.471,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21972,
    "c": 0.09207,
    "h": 342.1
  },
  "luminance": 0.00892
}

Semantic roles & 50–950 ramp

primary
#340126
secondary
#187932
accent
#FF6429
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070105
muted
#7A7779

Preview Lab

Preview with #340126

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

Preview Lab → · Contrast checker → · Palette generator →

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