#340A20#340A20

#340A20 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 22.9% C 0.072 H 352.1°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#340A20
RGBrgb(52, 10, 32)
HSLhsl(329, 68%, 12%)
HSVhsv(329, 81%, 20%)
CMYKcmyk(0%, 80.8%, 38.5%, 79.6%)
CIE-LABlab(9.41, 23.37, -3.86)
CIE-LCHlch(9.41, 23.69, 350.62°)
OKLaboklab(22.86% 0.0714 -0.01)
OKLCHoklch(22.86% 0.072 352.1)
XYZxyz(1.7855, 1.0516, 1.4752)
Luminance0.0105 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340A20 #0A341E
analogous
#330A34 #340A20 #340A0B
triadic
#340A20 #20340A #0A2034
tetradic
#340A20 #34330A #0A341E #0A0B34
square
#340A20 #34330A #0A341E #0A0B34
split-complementary
#340A20 #0B340A #0A3433
monochromatic
#1A0510 #1A0510 #340A20 #671440 #9B1E5F

Accessibility & contrast

On white

17.35
#340A20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#340A20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340A20
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340A20#FFFFFF#000000##FFFFFF
##340A201.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111521
Deuteranopia (green-blind)
#1C1D1F
Tritanopia (blue-blind)
#390713
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340a20;
/* rgb */ color: rgb(52, 10, 32);
/* oklch */ color: oklch(22.9% 0.072 352.1);
Tailwind
colors: {
  custom: {
    50: '#6e4d5b',
    500: '#340a20',
    950: '#000000',
  },
}
SCSS
$custom: #340a20;
$custom-light: #6e4d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#340a20",
  "rgb": {
    "r": 52,
    "g": 10,
    "b": 32
  },
  "hsl": {
    "h": 328.571,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22858,
    "c": 0.07206,
    "h": 352.1
  },
  "luminance": 0.01051
}

Semantic roles & 50–950 ramp

primary
#340A20
secondary
#28714B
accent
#EB903D
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340A20

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

Preview Lab → · Contrast checker → · Palette generator →

#340A20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva