#340219#340219

#340219 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.4% C 0.082 H 358.2°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#340219
RGBrgb(52, 2, 25)
HSLhsl(332, 93%, 11%)
HSVhsv(332, 96%, 20%)
CMYKcmyk(0%, 96.2%, 51.9%, 79.6%)
CIE-LABlab(7.62, 26.68, -1.12)
CIE-LCHlch(7.62, 26.70, 357.60°)
OKLaboklab(21.45% 0.0823 -0.0026)
OKLCHoklch(21.45% 0.082 358.2)
XYZxyz(1.6135, 0.8439, 0.9974)
Luminance0.0084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340219 #02341D
analogous
#340232 #340219 #340402
triadic
#340219 #193402 #021934
tetradic
#340219 #323402 #02341D #040234
square
#340219 #323402 #02341D #040234
split-complementary
#340219 #023404 #023234
monochromatic
#1D010E #1D010E #340219 #6F0435 #AA0752

Accessibility & contrast

On white

17.97
#340219 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#340219 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340219
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340219#FFFFFF#000000##FFFFFF
##3402191.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D101A
Deuteranopia (green-blind)
#1B1A18
Tritanopia (blue-blind)
#39000C
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #340219;
/* rgb */ color: rgb(52, 2, 25);
/* oklch */ color: oklch(21.4% 0.082 358.2);
Tailwind
colors: {
  custom: {
    50: '#6f4855',
    500: '#340219',
    950: '#000000',
  },
}
SCSS
$custom: #340219;
$custom-light: #6f4855;
$custom-dark: #000000;
JSON
{
  "hex": "#340219",
  "rgb": {
    "r": 52,
    "g": 2,
    "b": 25
  },
  "hsl": {
    "h": 332.4,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21446,
    "c": 0.08236,
    "h": 358.2
  },
  "luminance": 0.00844
}

Semantic roles & 50–950 ramp

primary
#340219
secondary
#1A784D
accent
#FF9C29
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080103
muted
#7B7778

Preview Lab

Preview with #340219

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

Preview Lab → · Contrast checker → · Palette generator →

#340219 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva