#340D25#340D25

#340D25 is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 23.5% C 0.070 H 346.0°. Best body text is #FFFFFF at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#340D25
RGBrgb(52, 13, 37)
HSLhsl(323, 60%, 13%)
HSVhsv(323, 75%, 20%)
CMYKcmyk(0%, 75%, 28.8%, 79.6%)
CIE-LABlab(10.20, 22.64, -6.46)
CIE-LCHlch(10.20, 23.55, 344.08°)
OKLaboklab(23.51% 0.0683 -0.0171)
OKLCHoklch(23.51% 0.07 346)
XYZxyz(1.8941, 1.1517, 1.8724)
Luminance0.0115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340D25 #0D341C
analogous
#2F0D34 #340D25 #340D11
triadic
#340D25 #25340D #0D2534
tetradic
#340D25 #342F0D #0D341C #0D1134
square
#340D25 #342F0D #0D341C #0D1134
split-complementary
#340D25 #11340D #0D342F
monochromatic
#180611 #180611 #340D25 #651948 #96256B

Accessibility & contrast

On white

17.07
#340D25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#340D25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340D25
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340D25#FFFFFF#000000##FFFFFF
##340D251.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111826
Deuteranopia (green-blind)
#1C1E24
Tritanopia (blue-blind)
#380C17
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #340d25;
/* rgb */ color: rgb(52, 13, 37);
/* oklch */ color: oklch(23.5% 0.070 346.0);
Tailwind
colors: {
  custom: {
    50: '#6d4e5f',
    500: '#340d25',
    950: '#000000',
  },
}
SCSS
$custom: #340d25;
$custom-light: #6d4e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#340d25",
  "rgb": {
    "r": 52,
    "g": 13,
    "b": 37
  },
  "hsl": {
    "h": 323.077,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23508,
    "c": 0.07041,
    "h": 346
  },
  "luminance": 0.01151
}

Semantic roles & 50–950 ramp

primary
#340D25
secondary
#2D6F47
accent
#E38245
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #340D25

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

Preview Lab → · Contrast checker → · Palette generator →

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