#340522#340522

#340522 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.3% C 0.082 H 347.7°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#340522
RGBrgb(52, 5, 34)
HSLhsl(323, 82%, 11%)
HSVhsv(323, 90%, 20%)
CMYKcmyk(0%, 90.4%, 34.6%, 79.6%)
CIE-LABlab(8.60, 26.21, -6.61)
CIE-LCHlch(8.60, 27.03, 345.84°)
OKLaboklab(22.3% 0.0799 -0.0174)
OKLCHoklch(22.3% 0.082 347.7)
XYZxyz(1.7593, 0.9543, 1.6046)
Luminance0.0095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340522 #053417
analogous
#2E0534 #340522 #34050A
triadic
#340522 #223405 #052234
tetradic
#340522 #342E05 #053417 #050A34
square
#340522 #342E05 #053417 #050A34
split-complementary
#340522 #0A3405 #05342E
monochromatic
#1C0312 #1C0312 #340522 #6C0A47 #A4106B

Accessibility & contrast

On white

17.64
#340522 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340522
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340522#FFFFFF#000000##FFFFFF
##3405221.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1323
Deuteranopia (green-blind)
#1A1C21
Tritanopia (blue-blind)
#380412
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340522;
/* rgb */ color: rgb(52, 5, 34);
/* oklch */ color: oklch(22.3% 0.082 347.7);
Tailwind
colors: {
  custom: {
    50: '#6e4a5d',
    500: '#340522',
    950: '#000000',
  },
}
SCSS
$custom: #340522;
$custom-light: #6e4a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#340522",
  "rgb": {
    "r": 52,
    "g": 5,
    "b": 34
  },
  "hsl": {
    "h": 322.979,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22297,
    "c": 0.08182,
    "h": 347.7
  },
  "luminance": 0.00954
}

Semantic roles & 50–950 ramp

primary
#340522
secondary
#1F7540
accent
#F97C2F
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340522

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

Preview Lab → · Contrast checker → · Palette generator →

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