#340C23#340C23

#340C23 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.3% C 0.071 H 348.5°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#340C23
RGBrgb(52, 12, 35)
HSLhsl(326, 63%, 13%)
HSVhsv(326, 77%, 20%)
CMYKcmyk(0%, 76.9%, 32.7%, 79.6%)
CIE-LABlab(9.91, 22.84, -5.39)
CIE-LCHlch(9.91, 23.47, 346.73°)
OKLaboklab(23.27% 0.0693 -0.0141)
OKLCHoklch(23.27% 0.071 348.5)
XYZxyz(1.8511, 1.1145, 1.7074)
Luminance0.0111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340C23 #0C341D
analogous
#310C34 #340C23 #340C0F
triadic
#340C23 #23340C #0C2334
tetradic
#340C23 #34310C #0C341D #0C0F34
square
#340C23 #34310C #0C341D #0C0F34
split-complementary
#340C23 #0F340C #0C3431
monochromatic
#190611 #190611 #340C23 #661744 #972366

Accessibility & contrast

On white

17.17
#340C23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#340C23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340C23
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340C23#FFFFFF#000000##FFFFFF
##340C231.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111724
Deuteranopia (green-blind)
#1C1E22
Tritanopia (blue-blind)
#380B16
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340c23;
/* rgb */ color: rgb(52, 12, 35);
/* oklch */ color: oklch(23.3% 0.071 348.5);
Tailwind
colors: {
  custom: {
    50: '#6d4e5d',
    500: '#340c23',
    950: '#000000',
  },
}
SCSS
$custom: #340c23;
$custom-light: #6d4e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#340c23",
  "rgb": {
    "r": 52,
    "g": 12,
    "b": 35
  },
  "hsl": {
    "h": 325.5,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23268,
    "c": 0.07071,
    "h": 348.5
  },
  "luminance": 0.01114
}

Semantic roles & 50–950 ramp

primary
#340C23
secondary
#2C7049
accent
#E68842
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #340C23

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

Preview Lab → · Contrast checker → · Palette generator →

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