#340E28#340E28

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

Color values

HEX#340E28
RGBrgb(52, 14, 40)
HSLhsl(319, 58%, 13%)
HSVhsv(319, 73%, 20%)
CMYKcmyk(0%, 73.1%, 23.1%, 79.6%)
CIE-LABlab(10.54, 22.63, -8.18)
CIE-LCHlch(10.54, 24.07, 340.14°)
OKLaboklab(23.81% 0.0675 -0.0219)
OKLCHoklch(23.81% 0.071 342)
XYZxyz(1.9563, 1.1975, 2.1352)
Luminance0.0120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340E28 #0E341A
analogous
#2D0E34 #340E28 #340E15
triadic
#340E28 #28340E #0E2834
tetradic
#340E28 #342D0E #0E341A #0E1534
square
#340E28 #342D0E #0E341A #0E1534
split-complementary
#340E28 #15340E #0E342D
monochromatic
#180613 #180613 #340E28 #641B4D #942872

Accessibility & contrast

On white

16.94
#340E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340E28
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340E28#FFFFFF#000000##FFFFFF
##340E281.0016.941.2416.94
#FFFFFF16.941.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111929
Deuteranopia (green-blind)
#1C1F27
Tritanopia (blue-blind)
#380E19
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #340e28;
/* rgb */ color: rgb(52, 14, 40);
/* oklch */ color: oklch(23.8% 0.071 342.0);
Tailwind
colors: {
  custom: {
    50: '#6d4f61',
    500: '#340e28',
    950: '#000000',
  },
}
SCSS
$custom: #340e28;
$custom-light: #6d4f61;
$custom-dark: #000000;
JSON
{
  "hex": "#340e28",
  "rgb": {
    "r": 52,
    "g": 14,
    "b": 40
  },
  "hsl": {
    "h": 318.947,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23809,
    "c": 0.07099,
    "h": 342
  },
  "luminance": 0.01197
}

Semantic roles & 50–950 ramp

primary
#340E28
secondary
#2F6F43
accent
#E17847
background
#F6F4F5
surface
#ECE7EA
border
#C7C3C6
text
#070205
muted
#7A7879

Preview Lab

Preview with #340E28

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

Preview Lab → · Contrast checker → · Palette generator →

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