#340428#340428

#340428 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.5% C 0.088 H 340.3°. Best body text is #FFFFFF at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#340428
RGBrgb(52, 4, 40)
HSLhsl(315, 86%, 11%)
HSVhsv(315, 92%, 20%)
CMYKcmyk(0%, 92.3%, 23.1%, 79.6%)
CIE-LABlab(8.74, 27.68, -10.95)
CIE-LCHlch(8.74, 29.77, 338.41°)
OKLaboklab(22.5% 0.0828 -0.0296)
OKLCHoklch(22.5% 0.088 340.3)
XYZxyz(1.8427, 0.9703, 2.0973)
Luminance0.0097 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340428 #043410
analogous
#280434 #340428 #340410
triadic
#340428 #283404 #042834
tetradic
#340428 #342804 #043410 #041034
square
#340428 #342804 #043410 #041034
split-complementary
#340428 #103404 #043428
monochromatic
#1C0216 #1C0216 #340428 #6D0854 #A60D7F

Accessibility & contrast

On white

17.59
#340428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340428
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340428#FFFFFF#000000##FFFFFF
##3404281.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071429
Deuteranopia (green-blind)
#171C27
Tritanopia (blue-blind)
#380515
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340428;
/* rgb */ color: rgb(52, 4, 40);
/* oklch */ color: oklch(22.5% 0.088 340.3);
Tailwind
colors: {
  custom: {
    50: '#6e4a62',
    500: '#340428',
    950: '#000000',
  },
}
SCSS
$custom: #340428;
$custom-light: #6e4a62;
$custom-dark: #000000;
JSON
{
  "hex": "#340428",
  "rgb": {
    "r": 52,
    "g": 4,
    "b": 40
  },
  "hsl": {
    "h": 315,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22501,
    "c": 0.08796,
    "h": 340.3
  },
  "luminance": 0.0097
}

Semantic roles & 50–950 ramp

primary
#340428
secondary
#1E7634
accent
#FC602C
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #340428

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

Preview Lab → · Contrast checker → · Palette generator →

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