#340720#340720

#340720 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.5% C 0.077 H 350.9°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#340720
RGBrgb(52, 7, 32)
HSLhsl(327, 76%, 12%)
HSVhsv(327, 87%, 20%)
CMYKcmyk(0%, 86.5%, 38.5%, 79.6%)
CIE-LABlab(8.88, 24.87, -4.67)
CIE-LCHlch(8.88, 25.30, 349.37°)
OKLaboklab(22.47% 0.0761 -0.0121)
OKLCHoklch(22.47% 0.077 350.9)
XYZxyz(1.7530, 0.9865, 1.4643)
Luminance0.0099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340720 #07341B
analogous
#320734 #340720 #34070A
triadic
#340720 #203407 #072034
tetradic
#340720 #343207 #07341B #070A34
square
#340720 #343207 #07341B #070A34
split-complementary
#340720 #0A3407 #073432
monochromatic
#1B0411 #1B0411 #340720 #6A0E41 #A01662

Accessibility & contrast

On white

17.54
#340720 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340720
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340720#FFFFFF#000000##FFFFFF
##3407201.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1421
Deuteranopia (green-blind)
#1B1C1F
Tritanopia (blue-blind)
#390512
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340720;
/* rgb */ color: rgb(52, 7, 32);
/* oklch */ color: oklch(22.5% 0.077 350.9);
Tailwind
colors: {
  custom: {
    50: '#6e4b5b',
    500: '#340720',
    950: '#000000',
  },
}
SCSS
$custom: #340720;
$custom-light: #6e4b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#340720",
  "rgb": {
    "r": 52,
    "g": 7,
    "b": 32
  },
  "hsl": {
    "h": 326.667,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22465,
    "c": 0.07703,
    "h": 350.9
  },
  "luminance": 0.00986
}

Semantic roles & 50–950 ramp

primary
#340720
secondary
#237447
accent
#F38935
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340720

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

Preview Lab → · Contrast checker → · Palette generator →

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