#340529#340529

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

Color values

HEX#340529
RGBrgb(52, 5, 41)
HSLhsl(314, 82%, 11%)
HSVhsv(314, 90%, 20%)
CMYKcmyk(0%, 90.4%, 21.2%, 79.6%)
CIE-LABlab(8.98, 27.32, -11.33)
CIE-LCHlch(8.98, 29.57, 337.47°)
OKLaboklab(22.69% 0.0814 -0.0307)
OKLCHoklch(22.69% 0.087 339.3)
XYZxyz(1.8707, 0.9989, 2.1917)
Luminance0.0100 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340529 #053410
analogous
#270534 #340529 #340511
triadic
#340529 #293405 #052934
tetradic
#340529 #342705 #053410 #051134
square
#340529 #342705 #053410 #051134
split-complementary
#340529 #113405 #053427
monochromatic
#1C0316 #1C0316 #340529 #6C0A55 #A41081

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##340529#FFFFFF#000000##FFFFFF
##3405291.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)
#08152A
Deuteranopia (green-blind)
#181C28
Tritanopia (blue-blind)
#380716
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340529;
/* rgb */ color: rgb(52, 5, 41);
/* oklch */ color: oklch(22.7% 0.087 339.3);
Tailwind
colors: {
  custom: {
    50: '#6e4b62',
    500: '#340529',
    950: '#000000',
  },
}
SCSS
$custom: #340529;
$custom-light: #6e4b62;
$custom-dark: #000000;
JSON
{
  "hex": "#340529",
  "rgb": {
    "r": 52,
    "g": 5,
    "b": 41
  },
  "hsl": {
    "h": 314.043,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22693,
    "c": 0.08697,
    "h": 339.3
  },
  "luminance": 0.00999
}

Semantic roles & 50–950 ramp

primary
#340529
secondary
#1F7534
accent
#F95E2F
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #340529

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

Preview Lab → · Contrast checker → · Palette generator →

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