#340C25#340C25

#340C25 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.4% C 0.072 H 345.7°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#340C25
RGBrgb(52, 12, 37)
HSLhsl(323, 63%, 13%)
HSVhsv(323, 77%, 20%)
CMYKcmyk(0%, 76.9%, 28.8%, 79.6%)
CIE-LABlab(10.01, 23.16, -6.75)
CIE-LCHlch(10.01, 24.13, 343.76°)
OKLaboklab(23.37% 0.0699 -0.0179)
OKLCHoklch(23.37% 0.072 345.7)
XYZxyz(1.8816, 1.1268, 1.8683)
Luminance0.0113 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340C25 #0C341B
analogous
#2F0C34 #340C25 #340C11
triadic
#340C25 #25340C #0C2534
tetradic
#340C25 #342F0C #0C341B #0C1134
square
#340C25 #342F0C #0C341B #0C1134
split-complementary
#340C25 #11340C #0C342F
monochromatic
#190612 #190612 #340C25 #661748 #97236C

Accessibility & contrast

On white

17.14
#340C25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340C25
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340C25#FFFFFF#000000##FFFFFF
##340C251.0017.141.2317.14
#FFFFFF17.141.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101726
Deuteranopia (green-blind)
#1C1E24
Tritanopia (blue-blind)
#380B17
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340c25;
/* rgb */ color: rgb(52, 12, 37);
/* oklch */ color: oklch(23.4% 0.072 345.7);
Tailwind
colors: {
  custom: {
    50: '#6d4e5f',
    500: '#340c25',
    950: '#000000',
  },
}
SCSS
$custom: #340c25;
$custom-light: #6d4e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#340c25",
  "rgb": {
    "r": 52,
    "g": 12,
    "b": 37
  },
  "hsl": {
    "h": 322.5,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23368,
    "c": 0.07215,
    "h": 345.7
  },
  "luminance": 0.01127
}

Semantic roles & 50–950 ramp

primary
#340C25
secondary
#2C7045
accent
#E67F42
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #340C25

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

Preview Lab → · Contrast checker → · Palette generator →

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