#340C27#340C27

#340C27 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.5% C 0.074 H 342.9°. Best body text is #FFFFFF at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#340C27
RGBrgb(52, 12, 39)
HSLhsl(320, 63%, 13%)
HSVhsv(320, 77%, 20%)
CMYKcmyk(0%, 76.9%, 25%, 79.6%)
CIE-LABlab(10.10, 23.51, -8.10)
CIE-LCHlch(10.10, 24.86, 341.00°)
OKLaboklab(23.47% 0.0705 -0.0216)
OKLCHoklch(23.47% 0.074 342.9)
XYZxyz(1.9139, 1.1397, 2.0382)
Luminance0.0114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340C27 #0C3419
analogous
#2D0C34 #340C27 #340C13
triadic
#340C27 #27340C #0C2734
tetradic
#340C27 #342D0C #0C3419 #0C1334
square
#340C27 #342D0C #0C3419 #0C1334
split-complementary
#340C27 #13340C #0C342D
monochromatic
#190613 #190613 #340C27 #66174C #972372

Accessibility & contrast

On white

17.10
#340C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340C27
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340C27#FFFFFF#000000##FFFFFF
##340C271.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1728
Deuteranopia (green-blind)
#1B1E26
Tritanopia (blue-blind)
#380C18
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #340c27;
/* rgb */ color: rgb(52, 12, 39);
/* oklch */ color: oklch(23.5% 0.074 342.9);
Tailwind
colors: {
  custom: {
    50: '#6d4e61',
    500: '#340c27',
    950: '#000000',
  },
}
SCSS
$custom: #340c27;
$custom-light: #6d4e61;
$custom-dark: #000000;
JSON
{
  "hex": "#340c27",
  "rgb": {
    "r": 52,
    "g": 12,
    "b": 39
  },
  "hsl": {
    "h": 319.5,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23473,
    "c": 0.0737,
    "h": 342.9
  },
  "luminance": 0.01139
}

Semantic roles & 50–950 ramp

primary
#340C27
secondary
#2C7042
accent
#E67742
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070205
muted
#7A7879

Preview Lab

Preview with #340C27

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

Preview Lab → · Contrast checker → · Palette generator →

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