#340327#340327

#340327 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 22.3% C 0.089 H 341.3°. Best body text is #FFFFFF at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#340327
RGBrgb(52, 3, 39)
HSLhsl(316, 89%, 11%)
HSVhsv(316, 94%, 20%)
CMYKcmyk(0%, 94.2%, 25%, 79.6%)
CIE-LABlab(8.50, 28.05, -10.58)
CIE-LCHlch(8.50, 29.98, 339.34°)
OKLaboklab(22.31% 0.0843 -0.0285)
OKLCHoklch(22.31% 0.089 341.3)
XYZxyz(1.8150, 0.9419, 2.0053)
Luminance0.0094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340327 #033410
analogous
#280334 #340327 #34030E
triadic
#340327 #273403 #032734
tetradic
#340327 #342803 #033410 #030E34
square
#340327 #342803 #033410 #030E34
split-complementary
#340327 #0E3403 #033428
monochromatic
#1D0216 #1D0216 #340327 #6E0652 #A80A7E

Accessibility & contrast

On white

17.67
#340327 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#340327 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340327
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340327#FFFFFF#000000##FFFFFF
##3403271.0017.671.1917.67
#FFFFFF17.671.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071328
Deuteranopia (green-blind)
#171B26
Tritanopia (blue-blind)
#380414
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #340327;
/* rgb */ color: rgb(52, 3, 39);
/* oklch */ color: oklch(22.3% 0.089 341.3);
Tailwind
colors: {
  custom: {
    50: '#6e4961',
    500: '#340327',
    950: '#000000',
  },
}
SCSS
$custom: #340327;
$custom-light: #6e4961;
$custom-dark: #000000;
JSON
{
  "hex": "#340327",
  "rgb": {
    "r": 52,
    "g": 3,
    "b": 39
  },
  "hsl": {
    "h": 315.918,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22307,
    "c": 0.08902,
    "h": 341.3
  },
  "luminance": 0.00942
}

Semantic roles & 50–950 ramp

primary
#340327
secondary
#1C7734
accent
#FF6229
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070105
muted
#7A7779

Preview Lab

Preview with #340327

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

Preview Lab → · Contrast checker → · Palette generator →

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