#340A25#340A25

#340A25 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.1% C 0.075 H 345.1°. Best body text is #FFFFFF at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#340A25
RGBrgb(52, 10, 37)
HSLhsl(321, 68%, 12%)
HSVhsv(321, 81%, 20%)
CMYKcmyk(0%, 80.8%, 28.8%, 79.6%)
CIE-LABlab(9.65, 24.16, -7.29)
CIE-LCHlch(9.65, 25.23, 343.20°)
OKLaboklab(23.11% 0.0729 -0.0194)
OKLCHoklch(23.11% 0.075 345.1)
XYZxyz(1.8587, 1.0809, 1.8607)
Luminance0.0108 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340A25 #0A3419
analogous
#2E0A34 #340A25 #340A10
triadic
#340A25 #25340A #0A2534
tetradic
#340A25 #342E0A #0A3419 #0A1034
square
#340A25 #342E0A #0A3419 #0A1034
split-complementary
#340A25 #10340A #0A342E
monochromatic
#1A0512 #1A0512 #340A25 #67144A #9B1E6E

Accessibility & contrast

On white

17.27
#340A25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340A25
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340A25#FFFFFF#000000##FFFFFF
##340A251.0017.271.2217.27
#FFFFFF17.271.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1626
Deuteranopia (green-blind)
#1B1D24
Tritanopia (blue-blind)
#380916
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340a25;
/* rgb */ color: rgb(52, 10, 37);
/* oklch */ color: oklch(23.1% 0.075 345.1);
Tailwind
colors: {
  custom: {
    50: '#6e4d5f',
    500: '#340a25',
    950: '#000000',
  },
}
SCSS
$custom: #340a25;
$custom-light: #6e4d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#340a25",
  "rgb": {
    "r": 52,
    "g": 10,
    "b": 37
  },
  "hsl": {
    "h": 321.429,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23106,
    "c": 0.07547,
    "h": 345.1
  },
  "luminance": 0.01081
}

Semantic roles & 50–950 ramp

primary
#340A25
secondary
#287142
accent
#EB7B3D
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340A25

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

Preview Lab → · Contrast checker → · Palette generator →

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