#340421#340421

#340421 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 22.1% C 0.083 H 348.7°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#340421
RGBrgb(52, 4, 33)
HSLhsl(324, 86%, 11%)
HSVhsv(324, 92%, 20%)
CMYKcmyk(0%, 92.3%, 36.5%, 79.6%)
CIE-LABlab(8.37, 26.60, -6.21)
CIE-LCHlch(8.37, 27.32, 346.86°)
OKLaboklab(22.11% 0.0814 -0.0163)
OKLCHoklch(22.11% 0.083 348.7)
XYZxyz(1.7342, 0.9269, 1.5261)
Luminance0.0093 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340421 #043417
analogous
#2F0434 #340421 #340409
triadic
#340421 #213404 #042134
tetradic
#340421 #342F04 #043417 #040934
square
#340421 #342F04 #043417 #040934
split-complementary
#340421 #093404 #04342F
monochromatic
#1C0212 #1C0212 #340421 #6D0845 #A60D69

Accessibility & contrast

On white

17.72
#340421 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#340421 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340421
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340421#FFFFFF#000000##FFFFFF
##3404211.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1322
Deuteranopia (green-blind)
#1A1B20
Tritanopia (blue-blind)
#390211
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #340421;
/* rgb */ color: rgb(52, 4, 33);
/* oklch */ color: oklch(22.1% 0.083 348.7);
Tailwind
colors: {
  custom: {
    50: '#6e4a5c',
    500: '#340421',
    950: '#000000',
  },
}
SCSS
$custom: #340421;
$custom-light: #6e4a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#340421",
  "rgb": {
    "r": 52,
    "g": 4,
    "b": 33
  },
  "hsl": {
    "h": 323.75,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22108,
    "c": 0.08298,
    "h": 348.7
  },
  "luminance": 0.00927
}

Semantic roles & 50–950 ramp

primary
#340421
secondary
#1E7641
accent
#FC7E2C
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340421

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

Preview Lab → · Contrast checker → · Palette generator →

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