#340A2D#340A2D

#340A2D is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.6% C 0.082 H 335.3°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#340A2D
RGBrgb(52, 10, 45)
HSLhsl(310, 68%, 12%)
HSVhsv(310, 81%, 20%)
CMYKcmyk(0%, 80.8%, 13.5%, 79.6%)
CIE-LABlab(10.08, 25.58, -12.60)
CIE-LCHlch(10.08, 28.51, 333.78°)
OKLaboklab(23.56% 0.0746 -0.0343)
OKLCHoklch(23.56% 0.082 335.3)
XYZxyz(1.9984, 1.1368, 2.5963)
Luminance0.0114 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340A2D #0A3411
analogous
#260A34 #340A2D #340A18
triadic
#340A2D #2D340A #0A2D34
tetradic
#340A2D #34260A #0A3411 #0A1834
square
#340A2D #34260A #0A3411 #0A1834
split-complementary
#340A2D #18340A #0A3426
monochromatic
#1A0516 #1A0516 #340A2D #671459 #9B1E86

Accessibility & contrast

On white

17.11
#340A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#340A2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340A2D
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340A2D#FFFFFF#000000##FFFFFF
##340A2D1.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A182E
Deuteranopia (green-blind)
#181E2C
Tritanopia (blue-blind)
#370D1A
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #340a2d;
/* rgb */ color: rgb(52, 10, 45);
/* oklch */ color: oklch(23.6% 0.082 335.3);
Tailwind
colors: {
  custom: {
    50: '#6d4d66',
    500: '#340a2d',
    950: '#000000',
  },
}
SCSS
$custom: #340a2d;
$custom-light: #6d4d66;
$custom-dark: #000000;
JSON
{
  "hex": "#340a2d",
  "rgb": {
    "r": 52,
    "g": 10,
    "b": 45
  },
  "hsl": {
    "h": 310,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23564,
    "c": 0.08212,
    "h": 335.3
  },
  "luminance": 0.01137
}

Semantic roles & 50–950 ramp

primary
#340A2D
secondary
#287135
accent
#EB5A3D
background
#F6F4F6
surface
#ECE7EB
border
#C7C3C6
text
#070105
muted
#7A777A

Preview Lab

Preview with #340A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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