#340513#340513

#340513 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.7% C 0.075 H 8.1°. Best body text is #FFFFFF at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#340513
RGBrgb(52, 5, 19)
HSLhsl(342, 82%, 11%)
HSVhsv(342, 90%, 20%)
CMYKcmyk(0%, 90.4%, 63.5%, 79.6%)
CIE-LABlab(8.00, 24.37, 3.74)
CIE-LCHlch(8.00, 24.66, 8.72°)
OKLaboklab(21.66% 0.0742 0.0106)
OKLCHoklch(21.66% 0.075 8.1)
XYZxyz(1.5881, 0.8858, 0.7033)
Luminance0.0089 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340513 #053426
analogous
#34052A #340513 #340E05
triadic
#340513 #133405 #051334
tetradic
#340513 #2A3405 #053426 #0E0534
square
#340513 #2A3405 #053426 #0E0534
split-complementary
#340513 #05340E #052A34
monochromatic
#1C030A #1C030A #340513 #6C0A27 #A4103C

Accessibility & contrast

On white

17.84
#340513 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#340513 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340513
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340513#FFFFFF#000000##FFFFFF
##3405131.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111113
Deuteranopia (green-blind)
#1D1B12
Tritanopia (blue-blind)
#3A000B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #340513;
/* rgb */ color: rgb(52, 5, 19);
/* oklch */ color: oklch(21.7% 0.075 8.1);
Tailwind
colors: {
  custom: {
    50: '#6f4a50',
    500: '#340513',
    950: '#000000',
  },
}
SCSS
$custom: #340513;
$custom-light: #6f4a50;
$custom-dark: #000000;
JSON
{
  "hex": "#340513",
  "rgb": {
    "r": 52,
    "g": 5,
    "b": 19
  },
  "hsl": {
    "h": 342.128,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21659,
    "c": 0.07495,
    "h": 8.1
  },
  "luminance": 0.00886
}

Semantic roles & 50–950 ramp

primary
#340513
secondary
#1F755C
accent
#F9BD2F
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340513

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

Preview Lab → · Contrast checker → · Palette generator →

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