#340413#340413

#340413 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.5% C 0.077 H 7.4°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#340413
RGBrgb(52, 4, 19)
HSLhsl(341, 86%, 11%)
HSVhsv(341, 92%, 20%)
CMYKcmyk(0%, 92.3%, 63.5%, 79.6%)
CIE-LABlab(7.81, 24.93, 3.45)
CIE-LCHlch(7.81, 25.16, 7.88°)
OKLaboklab(21.51% 0.076 0.0099)
OKLCHoklch(21.51% 0.077 7.4)
XYZxyz(1.5773, 0.8641, 0.6997)
Luminance0.0086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340413 #043425
analogous
#34042B #340413 #340D04
triadic
#340413 #133404 #041334
tetradic
#340413 #2B3404 #043425 #0D0434
square
#340413 #2B3404 #043425 #0D0434
split-complementary
#340413 #04340D #042B34
monochromatic
#1C020A #1C020A #340413 #6D0828 #A60D3D

Accessibility & contrast

On white

17.91
#340413 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#340413 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340413
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340413#FFFFFF#000000##FFFFFF
##3404131.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101113
Deuteranopia (green-blind)
#1D1B12
Tritanopia (blue-blind)
#3A000A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #340413;
/* rgb */ color: rgb(52, 4, 19);
/* oklch */ color: oklch(21.5% 0.077 7.4);
Tailwind
colors: {
  custom: {
    50: '#6f4950',
    500: '#340413',
    950: '#000000',
  },
}
SCSS
$custom: #340413;
$custom-light: #6f4950;
$custom-dark: #000000;
JSON
{
  "hex": "#340413",
  "rgb": {
    "r": 52,
    "g": 4,
    "b": 19
  },
  "hsl": {
    "h": 341.25,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21513,
    "c": 0.07665,
    "h": 7.4
  },
  "luminance": 0.00864
}

Semantic roles & 50–950 ramp

primary
#340413
secondary
#1E765B
accent
#FCBB2C
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340413

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

Preview Lab → · Contrast checker → · Palette generator →

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