#340F25#340F25

#340F25 is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 23.8% C 0.067 H 346.6°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#340F25
RGBrgb(52, 15, 37)
HSLhsl(324, 55%, 13%)
HSVhsv(324, 71%, 20%)
CMYKcmyk(0%, 71.2%, 28.8%, 79.6%)
CIE-LABlab(10.60, 21.55, -5.85)
CIE-LCHlch(10.60, 22.33, 344.82°)
OKLaboklab(23.81% 0.0649 -0.0154)
OKLCHoklch(23.81% 0.067 346.6)
XYZxyz(1.9210, 1.2055, 1.8814)
Luminance0.0120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340F25 #0F341E
analogous
#300F34 #340F25 #340F12
triadic
#340F25 #25340F #0F2534
tetradic
#340F25 #34300F #0F341E #0F1234
square
#340F25 #34300F #0F341E #0F1234
split-complementary
#340F25 #12340F #0F3430
monochromatic
#180711 #180711 #340F25 #631D47 #932A69

Accessibility & contrast

On white

16.92
#340F25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#340F25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340F25
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340F25#FFFFFF#000000##FFFFFF
##340F251.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131926
Deuteranopia (green-blind)
#1D1F24
Tritanopia (blue-blind)
#380E18
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #340f25;
/* rgb */ color: rgb(52, 15, 37);
/* oklch */ color: oklch(23.8% 0.067 346.6);
Tailwind
colors: {
  custom: {
    50: '#6d505f',
    500: '#340f25',
    950: '#000000',
  },
}
SCSS
$custom: #340f25;
$custom-light: #6d505f;
$custom-dark: #000000;
JSON
{
  "hex": "#340f25",
  "rgb": {
    "r": 52,
    "g": 15,
    "b": 37
  },
  "hsl": {
    "h": 324.324,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23805,
    "c": 0.06676,
    "h": 346.6
  },
  "luminance": 0.01205
}

Semantic roles & 50–950 ramp

primary
#340F25
secondary
#316E4A
accent
#DF8649
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #340F25

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

Preview Lab → · Contrast checker → · Palette generator →

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