#340520#340520

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

Color values

HEX#340520
RGBrgb(52, 5, 32)
HSLhsl(326, 82%, 11%)
HSVhsv(326, 90%, 20%)
CMYKcmyk(0%, 90.4%, 38.5%, 79.6%)
CIE-LABlab(8.51, 25.92, -5.23)
CIE-LCHlch(8.51, 26.44, 348.60°)
OKLaboklab(22.2% 0.0794 -0.0136)
OKLCHoklch(22.2% 0.081 350.3)
XYZxyz(1.7313, 0.9431, 1.4571)
Luminance0.0094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340520 #053419
analogous
#300534 #340520 #340508
triadic
#340520 #203405 #052034
tetradic
#340520 #343005 #053419 #050834
square
#340520 #343005 #053419 #050834
split-complementary
#340520 #083405 #053430
monochromatic
#1C0311 #1C0311 #340520 #6C0A42 #A41065

Accessibility & contrast

On white

17.67
#340520 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340520
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340520#FFFFFF#000000##FFFFFF
##3405201.0017.671.1917.67
#FFFFFF17.671.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1321
Deuteranopia (green-blind)
#1A1C1F
Tritanopia (blue-blind)
#390311
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340520;
/* rgb */ color: rgb(52, 5, 32);
/* oklch */ color: oklch(22.2% 0.081 350.3);
Tailwind
colors: {
  custom: {
    50: '#6e4a5b',
    500: '#340520',
    950: '#000000',
  },
}
SCSS
$custom: #340520;
$custom-light: #6e4a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#340520",
  "rgb": {
    "r": 52,
    "g": 5,
    "b": 32
  },
  "hsl": {
    "h": 325.532,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22195,
    "c": 0.08053,
    "h": 350.3
  },
  "luminance": 0.00943
}

Semantic roles & 50–950 ramp

primary
#340520
secondary
#1F7544
accent
#F9852F
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340520

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

Preview Lab → · Contrast checker → · Palette generator →

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