#340220#340220

#340220 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 21.8% C 0.086 H 349.3°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#340220
RGBrgb(52, 2, 32)
HSLhsl(324, 93%, 11%)
HSVhsv(324, 96%, 20%)
CMYKcmyk(0%, 96.2%, 38.5%, 79.6%)
CIE-LABlab(7.93, 27.58, -6.10)
CIE-LCHlch(7.93, 28.24, 347.52°)
OKLaboklab(21.78% 0.0846 -0.016)
OKLCHoklch(21.78% 0.086 349.3)
XYZxyz(1.6987, 0.8780, 1.4462)
Luminance0.0088 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340220 #023416
analogous
#2F0234 #340220 #340207
triadic
#340220 #203402 #022034
tetradic
#340220 #342F02 #023416 #020734
square
#340220 #342F02 #023416 #020734
split-complementary
#340220 #073402 #02342F
monochromatic
#1D0112 #1D0112 #340220 #6F0444 #AA0769

Accessibility & contrast

On white

17.86
#340220 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#340220 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340220
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340220#FFFFFF#000000##FFFFFF
##3402201.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1221
Deuteranopia (green-blind)
#191B1F
Tritanopia (blue-blind)
#39000F
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #340220;
/* rgb */ color: rgb(52, 2, 32);
/* oklch */ color: oklch(21.8% 0.086 349.3);
Tailwind
colors: {
  custom: {
    50: '#6e485b',
    500: '#340220',
    950: '#000000',
  },
}
SCSS
$custom: #340220;
$custom-light: #6e485b;
$custom-dark: #000000;
JSON
{
  "hex": "#340220",
  "rgb": {
    "r": 52,
    "g": 2,
    "b": 32
  },
  "hsl": {
    "h": 324,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21776,
    "c": 0.08612,
    "h": 349.3
  },
  "luminance": 0.00878
}

Semantic roles & 50–950 ramp

primary
#340220
secondary
#1A783F
accent
#FF7E29
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#080104
muted
#7B7779

Preview Lab

Preview with #340220

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

Preview Lab → · Contrast checker → · Palette generator →

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