#340F23#340F23

#340F23 is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 23.7% C 0.065 H 349.7°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#340F23
RGBrgb(52, 15, 35)
HSLhsl(328, 55%, 13%)
HSVhsv(328, 71%, 20%)
CMYKcmyk(0%, 71.2%, 32.7%, 79.6%)
CIE-LABlab(10.51, 21.21, -4.49)
CIE-LCHlch(10.51, 21.68, 348.06°)
OKLaboklab(23.71% 0.0643 -0.0117)
OKLCHoklch(23.71% 0.065 349.7)
XYZxyz(1.8904, 1.1932, 1.7205)
Luminance0.0119 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340F23 #0F3420
analogous
#320F34 #340F23 #340F10
triadic
#340F23 #23340F #0F2334
tetradic
#340F23 #34320F #0F3420 #0F1034
square
#340F23 #34320F #0F3420 #0F1034
split-complementary
#340F23 #10340F #0F3432
monochromatic
#180710 #180710 #340F23 #631D43 #932A63

Accessibility & contrast

On white

16.95
#340F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340F23
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340F23#FFFFFF#000000##FFFFFF
##340F231.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141824
Deuteranopia (green-blind)
#1E1F22
Tritanopia (blue-blind)
#380E17
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #340f23;
/* rgb */ color: rgb(52, 15, 35);
/* oklch */ color: oklch(23.7% 0.065 349.7);
Tailwind
colors: {
  custom: {
    50: '#6d505d',
    500: '#340f23',
    950: '#000000',
  },
}
SCSS
$custom: #340f23;
$custom-light: #6d505d;
$custom-dark: #000000;
JSON
{
  "hex": "#340f23",
  "rgb": {
    "r": 52,
    "g": 15,
    "b": 35
  },
  "hsl": {
    "h": 327.568,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23708,
    "c": 0.06533,
    "h": 349.7
  },
  "luminance": 0.01193
}

Semantic roles & 50–950 ramp

primary
#340F23
secondary
#316E4D
accent
#DF8E49
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #340F23

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

Preview Lab → · Contrast checker → · Palette generator →

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