#340928#340928

#340928 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.1% C 0.079 H 341.1°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#340928
RGBrgb(52, 9, 40)
HSLhsl(317, 70%, 12%)
HSVhsv(317, 83%, 20%)
CMYKcmyk(0%, 82.7%, 23.1%, 79.6%)
CIE-LABlab(9.63, 25.14, -9.57)
CIE-LCHlch(9.63, 26.91, 339.16°)
OKLaboklab(23.15% 0.0751 -0.0257)
OKLCHoklch(23.15% 0.079 341.1)
XYZxyz(1.8969, 1.0788, 2.1154)
Luminance0.0108 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340928 #093415
analogous
#2B0934 #340928 #340913
triadic
#340928 #283409 #092834
tetradic
#340928 #342B09 #093415 #091334
square
#340928 #342B09 #093415 #091334
split-complementary
#340928 #133409 #09342B
monochromatic
#1A0514 #1A0514 #340928 #681250 #9C1B78

Accessibility & contrast

On white

17.27
#340928 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#340928 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340928
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340928#FFFFFF#000000##FFFFFF
##3409281.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1629
Deuteranopia (green-blind)
#1A1D27
Tritanopia (blue-blind)
#380A17
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340928;
/* rgb */ color: rgb(52, 9, 40);
/* oklch */ color: oklch(23.1% 0.079 341.1);
Tailwind
colors: {
  custom: {
    50: '#6e4d62',
    500: '#340928',
    950: '#000000',
  },
}
SCSS
$custom: #340928;
$custom-light: #6e4d62;
$custom-dark: #000000;
JSON
{
  "hex": "#340928",
  "rgb": {
    "r": 52,
    "g": 9,
    "b": 40
  },
  "hsl": {
    "h": 316.744,
    "s": 70.492,
    "l": 11.961
  },
  "oklch": {
    "l": 0.23145,
    "c": 0.07942,
    "h": 341.1
  },
  "luminance": 0.01079
}

Semantic roles & 50–950 ramp

primary
#340928
secondary
#27723C
accent
#ED6C3B
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #340928

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

Preview Lab → · Contrast checker → · Palette generator →

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