#340328#340328

#340328 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 22.4% C 0.090 H 340.2°. Best body text is #FFFFFF at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#340328
RGBrgb(52, 3, 40)
HSLhsl(315, 89%, 11%)
HSVhsv(315, 94%, 20%)
CMYKcmyk(0%, 94.2%, 23.1%, 79.6%)
CIE-LABlab(8.56, 28.21, -11.24)
CIE-LCHlch(8.56, 30.37, 338.27°)
OKLaboklab(22.37% 0.0845 -0.0304)
OKLCHoklch(22.37% 0.09 340.2)
XYZxyz(1.8318, 0.9486, 2.0937)
Luminance0.0095 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340328 #03340F
analogous
#270334 #340328 #34030F
triadic
#340328 #283403 #032834
tetradic
#340328 #342703 #03340F #030F34
square
#340328 #342703 #03340F #030F34
split-complementary
#340328 #0F3403 #033427
monochromatic
#1D0216 #1D0216 #340328 #6E0655 #A80A81

Accessibility & contrast

On white

17.65
#340328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340328
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340328#FFFFFF#000000##FFFFFF
##3403281.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061429
Deuteranopia (green-blind)
#171B27
Tritanopia (blue-blind)
#380414
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340328;
/* rgb */ color: rgb(52, 3, 40);
/* oklch */ color: oklch(22.4% 0.090 340.2);
Tailwind
colors: {
  custom: {
    50: '#6e4962',
    500: '#340328',
    950: '#000000',
  },
}
SCSS
$custom: #340328;
$custom-light: #6e4962;
$custom-dark: #000000;
JSON
{
  "hex": "#340328",
  "rgb": {
    "r": 52,
    "g": 3,
    "b": 40
  },
  "hsl": {
    "h": 314.694,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22367,
    "c": 0.08978,
    "h": 340.2
  },
  "luminance": 0.00948
}

Semantic roles & 50–950 ramp

primary
#340328
secondary
#1C7732
accent
#FF5D29
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #340328

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

Preview Lab → · Contrast checker → · Palette generator →

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