#340A2B#340A2B

#340A2B is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.4% C 0.080 H 337.6°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#340A2B
RGBrgb(52, 10, 43)
HSLhsl(313, 68%, 12%)
HSVhsv(313, 81%, 20%)
CMYKcmyk(0%, 80.8%, 17.3%, 79.6%)
CIE-LABlab(9.97, 25.21, -11.29)
CIE-LCHlch(9.97, 27.62, 335.87°)
OKLaboklab(23.44% 0.0743 -0.0306)
OKLCHoklch(23.44% 0.08 337.6)
XYZxyz(1.9608, 1.1217, 2.3983)
Luminance0.0112 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340A2B #0A3413
analogous
#280A34 #340A2B #340A16
triadic
#340A2B #2B340A #0A2B34
tetradic
#340A2B #34280A #0A3413 #0A1634
square
#340A2B #34280A #0A3413 #0A1634
split-complementary
#340A2B #16340A #0A3428
monochromatic
#1A0515 #1A0515 #340A2B #671455 #9B1E80

Accessibility & contrast

On white

17.15
#340A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#340A2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340A2B
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340A2B#FFFFFF#000000##FFFFFF
##340A2B1.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B172C
Deuteranopia (green-blind)
#191E2A
Tritanopia (blue-blind)
#370C19
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340a2b;
/* rgb */ color: rgb(52, 10, 43);
/* oklch */ color: oklch(23.4% 0.080 337.6);
Tailwind
colors: {
  custom: {
    50: '#6d4d64',
    500: '#340a2b',
    950: '#000000',
  },
}
SCSS
$custom: #340a2b;
$custom-light: #6d4d64;
$custom-dark: #000000;
JSON
{
  "hex": "#340a2b",
  "rgb": {
    "r": 52,
    "g": 10,
    "b": 43
  },
  "hsl": {
    "h": 312.857,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23443,
    "c": 0.08035,
    "h": 337.6
  },
  "luminance": 0.01122
}

Semantic roles & 50–950 ramp

primary
#340A2B
secondary
#287138
accent
#EB623D
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070105
muted
#7A777A

Preview Lab

Preview with #340A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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