#340515#340515

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

Color values

HEX#340515
RGBrgb(52, 5, 21)
HSLhsl(340, 82%, 11%)
HSVhsv(340, 90%, 20%)
CMYKcmyk(0%, 90.4%, 59.6%, 79.6%)
CIE-LABlab(8.07, 24.57, 2.51)
CIE-LCHlch(8.07, 24.69, 5.82°)
OKLaboklab(21.73% 0.0751 0.007)
OKLCHoklch(21.73% 0.075 5.3)
XYZxyz(1.6059, 0.8930, 0.7971)
Luminance0.0089 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340515 #053424
analogous
#34052C #340515 #340C05
triadic
#340515 #153405 #051534
tetradic
#340515 #2C3405 #053424 #0C0534
square
#340515 #2C3405 #053424 #0C0534
split-complementary
#340515 #05340C #052C34
monochromatic
#1C030B #1C030B #340515 #6C0A2C #A41042

Accessibility & contrast

On white

17.82
#340515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340515
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340515#FFFFFF#000000##FFFFFF
##3405151.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #340515;
/* rgb */ color: rgb(52, 5, 21);
/* oklch */ color: oklch(21.7% 0.075 5.3);
Tailwind
colors: {
  custom: {
    50: '#6f4a52',
    500: '#340515',
    950: '#000000',
  },
}
SCSS
$custom: #340515;
$custom-light: #6f4a52;
$custom-dark: #000000;
JSON
{
  "hex": "#340515",
  "rgb": {
    "r": 52,
    "g": 5,
    "b": 21
  },
  "hsl": {
    "h": 339.574,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21727,
    "c": 0.07545,
    "h": 5.3
  },
  "luminance": 0.00893
}

Semantic roles & 50–950 ramp

primary
#340515
secondary
#1F7558
accent
#F9B42F
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340515

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

Preview Lab → · Contrast checker → · Palette generator →

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