#340129#340129

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

Color values

HEX#340129
RGBrgb(52, 1, 41)
HSLhsl(313, 96%, 10%)
HSVhsv(313, 98%, 20%)
CMYKcmyk(0%, 98.1%, 21.2%, 79.6%)
CIE-LABlab(8.24, 29.48, -12.50)
CIE-LCHlch(8.24, 32.02, 337.02°)
OKLaboklab(22.16% 0.088 -0.0339)
OKLCHoklch(22.16% 0.094 338.9)
XYZxyz(1.8273, 0.9121, 2.1772)
Luminance0.0091 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340129 #01340C
analogous
#250134 #340129 #34010F
triadic
#340129 #293401 #012934
tetradic
#340129 #342501 #01340C #010F34
square
#340129 #342501 #01340C #010F34
split-complementary
#340129 #0F3401 #013425
monochromatic
#1E0118 #1E0118 #340129 #700258 #AC0388

Accessibility & contrast

On white

17.76
#340129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340129
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340129#FFFFFF#000000##FFFFFF
##3401291.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03132A
Deuteranopia (green-blind)
#161B28
Tritanopia (blue-blind)
#380314
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #340129;
/* rgb */ color: rgb(52, 1, 41);
/* oklch */ color: oklch(22.2% 0.094 338.9);
Tailwind
colors: {
  custom: {
    50: '#6e4862',
    500: '#340129',
    950: '#000000',
  },
}
SCSS
$custom: #340129;
$custom-light: #6e4862;
$custom-dark: #000000;
JSON
{
  "hex": "#340129",
  "rgb": {
    "r": 52,
    "g": 1,
    "b": 41
  },
  "hsl": {
    "h": 312.941,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22158,
    "c": 0.09428,
    "h": 338.9
  },
  "luminance": 0.00912
}

Semantic roles & 50–950 ramp

primary
#340129
secondary
#18792D
accent
#FF5729
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #340129

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

Preview Lab → · Contrast checker → · Palette generator →

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