#340427#340427

#340427 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.4% C 0.087 H 341.5°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#340427
RGBrgb(52, 4, 39)
HSLhsl(316, 86%, 11%)
HSVhsv(316, 92%, 20%)
CMYKcmyk(0%, 92.3%, 25%, 79.6%)
CIE-LABlab(8.68, 27.51, -10.29)
CIE-LCHlch(8.68, 29.37, 339.50°)
OKLaboklab(22.44% 0.0827 -0.0277)
OKLCHoklch(22.44% 0.087 341.5)
XYZxyz(1.8259, 0.9636, 2.0089)
Luminance0.0096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340427 #043411
analogous
#290434 #340427 #34040F
triadic
#340427 #273404 #042734
tetradic
#340427 #342904 #043411 #040F34
square
#340427 #342904 #043411 #040F34
split-complementary
#340427 #0F3404 #043429
monochromatic
#1C0215 #1C0215 #340427 #6D0852 #A60D7C

Accessibility & contrast

On white

17.61
#340427 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340427
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340427#FFFFFF#000000##FFFFFF
##3404271.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081428
Deuteranopia (green-blind)
#181C26
Tritanopia (blue-blind)
#380514
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340427;
/* rgb */ color: rgb(52, 4, 39);
/* oklch */ color: oklch(22.4% 0.087 341.5);
Tailwind
colors: {
  custom: {
    50: '#6e4a61',
    500: '#340427',
    950: '#000000',
  },
}
SCSS
$custom: #340427;
$custom-light: #6e4a61;
$custom-dark: #000000;
JSON
{
  "hex": "#340427",
  "rgb": {
    "r": 52,
    "g": 4,
    "b": 39
  },
  "hsl": {
    "h": 316.25,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22441,
    "c": 0.0872,
    "h": 341.5
  },
  "luminance": 0.00963
}

Semantic roles & 50–950 ramp

primary
#340427
secondary
#1E7636
accent
#FC642C
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070105
muted
#7A7779

Preview Lab

Preview with #340427

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

Preview Lab → · Contrast checker → · Palette generator →

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