#340628#340628

#340628 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.8% C 0.084 H 340.6°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#340628
RGBrgb(52, 6, 40)
HSLhsl(316, 79%, 11%)
HSVhsv(316, 88%, 20%)
CMYKcmyk(0%, 88.5%, 23.1%, 79.6%)
CIE-LABlab(9.11, 26.63, -10.39)
CIE-LCHlch(9.11, 28.59, 338.69°)
OKLaboklab(22.76% 0.0797 -0.028)
OKLCHoklch(22.76% 0.084 340.6)
XYZxyz(1.8644, 1.0137, 2.1046)
Luminance0.0101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340628 #063412
analogous
#290634 #340628 #340611
triadic
#340628 #283406 #062834
tetradic
#340628 #342906 #063412 #061134
square
#340628 #342906 #063412 #061134
split-complementary
#340628 #113406 #063429
monochromatic
#1B0315 #1B0315 #340628 #6B0C52 #A2137C

Accessibility & contrast

On white

17.46
#340628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#340628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340628
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340628#FFFFFF#000000##FFFFFF
##3406281.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091529
Deuteranopia (green-blind)
#181C27
Tritanopia (blue-blind)
#380716
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340628;
/* rgb */ color: rgb(52, 6, 40);
/* oklch */ color: oklch(22.8% 0.084 340.6);
Tailwind
colors: {
  custom: {
    50: '#6e4b62',
    500: '#340628',
    950: '#000000',
  },
}
SCSS
$custom: #340628;
$custom-light: #6e4b62;
$custom-dark: #000000;
JSON
{
  "hex": "#340628",
  "rgb": {
    "r": 52,
    "g": 6,
    "b": 40
  },
  "hsl": {
    "h": 315.652,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22763,
    "c": 0.08444,
    "h": 340.6
  },
  "luminance": 0.01014
}

Semantic roles & 50–950 ramp

primary
#340628
secondary
#217437
accent
#F66532
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #340628

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

Preview Lab → · Contrast checker → · Palette generator →

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