#340524#340524

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

Color values

HEX#340524
RGBrgb(52, 5, 36)
HSLhsl(320, 82%, 11%)
HSVhsv(320, 90%, 20%)
CMYKcmyk(0%, 90.4%, 30.8%, 79.6%)
CIE-LABlab(8.71, 26.51, -7.98)
CIE-LCHlch(8.71, 27.68, 343.25°)
OKLaboklab(22.4% 0.0804 -0.0212)
OKLCHoklch(22.4% 0.083 345.2)
XYZxyz(1.7890, 0.9662, 1.7610)
Luminance0.0097 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340524 #053415
analogous
#2C0534 #340524 #34050C
triadic
#340524 #243405 #052434
tetradic
#340524 #342C05 #053415 #050C34
square
#340524 #342C05 #053415 #050C34
split-complementary
#340524 #0C3405 #05342C
monochromatic
#1C0313 #1C0313 #340524 #6C0A4B #A41071

Accessibility & contrast

On white

17.60
#340524 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#340524 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340524
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340524#FFFFFF#000000##FFFFFF
##3405241.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1425
Deuteranopia (green-blind)
#191C23
Tritanopia (blue-blind)
#380413
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340524;
/* rgb */ color: rgb(52, 5, 36);
/* oklch */ color: oklch(22.4% 0.083 345.2);
Tailwind
colors: {
  custom: {
    50: '#6e4a5e',
    500: '#340524',
    950: '#000000',
  },
}
SCSS
$custom: #340524;
$custom-light: #6e4a5e;
$custom-dark: #000000;
JSON
{
  "hex": "#340524",
  "rgb": {
    "r": 52,
    "g": 5,
    "b": 36
  },
  "hsl": {
    "h": 320.426,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22404,
    "c": 0.08319,
    "h": 345.2
  },
  "luminance": 0.00966
}

Semantic roles & 50–950 ramp

primary
#340524
secondary
#1F753D
accent
#F9742F
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340524

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

Preview Lab → · Contrast checker → · Palette generator →

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