#340A23#340A23

#340A23 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.0% C 0.074 H 347.8°. Best body text is #FFFFFF at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#340A23
RGBrgb(52, 10, 35)
HSLhsl(324, 68%, 12%)
HSVhsv(324, 81%, 20%)
CMYKcmyk(0%, 80.8%, 32.7%, 79.6%)
CIE-LABlab(9.55, 23.83, -5.93)
CIE-LCHlch(9.55, 24.56, 346.02°)
OKLaboklab(23% 0.0724 -0.0156)
OKLCHoklch(23% 0.074 347.8)
XYZxyz(1.8282, 1.0687, 1.6998)
Luminance0.0107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340A23 #0A341B
analogous
#300A34 #340A23 #340A0E
triadic
#340A23 #23340A #0A2334
tetradic
#340A23 #34300A #0A341B #0A0E34
square
#340A23 #34300A #0A341B #0A0E34
split-complementary
#340A23 #0E340A #0A3430
monochromatic
#1A0511 #1A0511 #340A23 #671446 #9B1E68

Accessibility & contrast

On white

17.30
#340A23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#340A23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340A23
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340A23#FFFFFF#000000##FFFFFF
##340A231.0017.301.2117.30
#FFFFFF17.301.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101624
Deuteranopia (green-blind)
#1C1D22
Tritanopia (blue-blind)
#380915
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340a23;
/* rgb */ color: rgb(52, 10, 35);
/* oklch */ color: oklch(23.0% 0.074 347.8);
Tailwind
colors: {
  custom: {
    50: '#6e4d5d',
    500: '#340a23',
    950: '#000000',
  },
}
SCSS
$custom: #340a23;
$custom-light: #6e4d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#340a23",
  "rgb": {
    "r": 52,
    "g": 10,
    "b": 35
  },
  "hsl": {
    "h": 324.286,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23003,
    "c": 0.07402,
    "h": 347.8
  },
  "luminance": 0.01068
}

Semantic roles & 50–950 ramp

primary
#340A23
secondary
#287146
accent
#EB833D
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340A23

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

Preview Lab → · Contrast checker → · Palette generator →

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