#340F24#340F24

#340F24 is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 23.8% C 0.066 H 348.1°. Best body text is #FFFFFF at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#340F24
RGBrgb(52, 15, 36)
HSLhsl(326, 55%, 13%)
HSVhsv(326, 71%, 20%)
CMYKcmyk(0%, 71.2%, 30.8%, 79.6%)
CIE-LABlab(10.55, 21.38, -5.17)
CIE-LCHlch(10.55, 22.00, 346.41°)
OKLaboklab(23.76% 0.0646 -0.0136)
OKLCHoklch(23.76% 0.066 348.1)
XYZxyz(1.9055, 1.1993, 1.7999)
Luminance0.0120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340F24 #0F341F
analogous
#310F34 #340F24 #340F11
triadic
#340F24 #24340F #0F2434
tetradic
#340F24 #34310F #0F341F #0F1134
square
#340F24 #34310F #0F341F #0F1134
split-complementary
#340F24 #11340F #0F3431
monochromatic
#180710 #180710 #340F24 #631D45 #932A66

Accessibility & contrast

On white

16.94
#340F24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#340F24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340F24
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340F24#FFFFFF#000000##FFFFFF
##340F241.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131925
Deuteranopia (green-blind)
#1E1F23
Tritanopia (blue-blind)
#380E17
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #340f24;
/* rgb */ color: rgb(52, 15, 36);
/* oklch */ color: oklch(23.8% 0.066 348.1);
Tailwind
colors: {
  custom: {
    50: '#6d505e',
    500: '#340f24',
    950: '#000000',
  },
}
SCSS
$custom: #340f24;
$custom-light: #6d505e;
$custom-dark: #000000;
JSON
{
  "hex": "#340f24",
  "rgb": {
    "r": 52,
    "g": 15,
    "b": 36
  },
  "hsl": {
    "h": 325.946,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23756,
    "c": 0.06603,
    "h": 348.1
  },
  "luminance": 0.01199
}

Semantic roles & 50–950 ramp

primary
#340F24
secondary
#316E4B
accent
#DF8A49
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #340F24

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

Preview Lab → · Contrast checker → · Palette generator →

#340F24 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva