#340815#340815

#340815 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.1% C 0.071 H 7.3°. Best body text is #FFFFFF at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#340815
RGBrgb(52, 8, 21)
HSLhsl(342, 73%, 12%)
HSVhsv(342, 85%, 20%)
CMYKcmyk(0%, 84.6%, 59.6%, 79.6%)
CIE-LABlab(8.64, 22.97, 3.33)
CIE-LCHlch(8.64, 23.21, 8.26°)
OKLaboklab(22.15% 0.07 0.009)
OKLCHoklch(22.15% 0.071 7.3)
XYZxyz(1.6385, 0.9581, 0.8080)
Luminance0.0096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340815 #083427
analogous
#34082B #340815 #341108
triadic
#340815 #153408 #081534
tetradic
#340815 #2B3408 #083427 #110834
square
#340815 #2B3408 #083427 #110834
split-complementary
#340815 #083411 #082B34
monochromatic
#1B040B #1B040B #340815 #69102A #9E1840

Accessibility & contrast

On white

17.62
#340815 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340815
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340815#FFFFFF#000000##FFFFFF
##3408151.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121315
Deuteranopia (green-blind)
#1E1C14
Tritanopia (blue-blind)
#39020D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340815;
/* rgb */ color: rgb(52, 8, 21);
/* oklch */ color: oklch(22.1% 0.071 7.3);
Tailwind
colors: {
  custom: {
    50: '#6f4b52',
    500: '#340815',
    950: '#000000',
  },
}
SCSS
$custom: #340815;
$custom-light: #6f4b52;
$custom-dark: #000000;
JSON
{
  "hex": "#340815",
  "rgb": {
    "r": 52,
    "g": 8,
    "b": 21
  },
  "hsl": {
    "h": 342.273,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22148,
    "c": 0.07056,
    "h": 7.3
  },
  "luminance": 0.00958
}

Semantic roles & 50–950 ramp

primary
#340815
secondary
#25735C
accent
#F0BA38
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340815

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

Preview Lab → · Contrast checker → · Palette generator →

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