#340E27#340E27

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

Color values

HEX#340E27
RGBrgb(52, 14, 39)
HSLhsl(321, 58%, 13%)
HSVhsv(321, 73%, 20%)
CMYKcmyk(0%, 73.1%, 25%, 79.6%)
CIE-LABlab(10.49, 22.45, -7.51)
CIE-LCHlch(10.49, 23.68, 341.51°)
OKLaboklab(23.76% 0.0673 -0.02)
OKLCHoklch(23.76% 0.07 343.4)
XYZxyz(1.9395, 1.1908, 2.0468)
Luminance0.0119 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340E27 #0E341B
analogous
#2E0E34 #340E27 #340E14
triadic
#340E27 #27340E #0E2734
tetradic
#340E27 #342E0E #0E341B #0E1434
square
#340E27 #342E0E #0E341B #0E1434
split-complementary
#340E27 #14340E #0E342E
monochromatic
#180612 #180612 #340E27 #641B4B #94286F

Accessibility & contrast

On white

16.96
#340E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340E27
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340E27#FFFFFF#000000##FFFFFF
##340E271.0016.961.2416.96
#FFFFFF16.961.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111828
Deuteranopia (green-blind)
#1C1F26
Tritanopia (blue-blind)
#380E18
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #340e27;
/* rgb */ color: rgb(52, 14, 39);
/* oklch */ color: oklch(23.8% 0.070 343.4);
Tailwind
colors: {
  custom: {
    50: '#6d4f61',
    500: '#340e27',
    950: '#000000',
  },
}
SCSS
$custom: #340e27;
$custom-light: #6d4f61;
$custom-dark: #000000;
JSON
{
  "hex": "#340e27",
  "rgb": {
    "r": 52,
    "g": 14,
    "b": 39
  },
  "hsl": {
    "h": 320.526,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23756,
    "c": 0.07016,
    "h": 343.4
  },
  "luminance": 0.01191
}

Semantic roles & 50–950 ramp

primary
#340E27
secondary
#2F6F45
accent
#E17C47
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070205
muted
#7A7879

Preview Lab

Preview with #340E27

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

Preview Lab → · Contrast checker → · Palette generator →

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