#340321#340321

#340321 is a very dark, moderate pink. Relative luminance 0.009; OKLCH L 22.0% C 0.085 H 348.4°. Best body text is #FFFFFF at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#340321
RGBrgb(52, 3, 33)
HSLhsl(323, 89%, 11%)
HSVhsv(323, 94%, 20%)
CMYKcmyk(0%, 94.2%, 36.5%, 79.6%)
CIE-LABlab(8.18, 27.15, -6.50)
CIE-LCHlch(8.18, 27.92, 346.53°)
OKLaboklab(21.97% 0.0831 -0.0171)
OKLCHoklch(21.97% 0.085 348.4)
XYZxyz(1.7233, 0.9052, 1.5225)
Luminance0.0091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340321 #033416
analogous
#2E0334 #340321 #340308
triadic
#340321 #213403 #032134
tetradic
#340321 #342E03 #033416 #030834
square
#340321 #342E03 #033416 #030834
split-complementary
#340321 #083403 #03342E
monochromatic
#1D0212 #1D0212 #340321 #6E0646 #A80A6A

Accessibility & contrast

On white

17.78
#340321 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340321
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340321#FFFFFF#000000##FFFFFF
##3403211.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1222
Deuteranopia (green-blind)
#191B20
Tritanopia (blue-blind)
#390111
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #340321;
/* rgb */ color: rgb(52, 3, 33);
/* oklch */ color: oklch(22.0% 0.085 348.4);
Tailwind
colors: {
  custom: {
    50: '#6e495c',
    500: '#340321',
    950: '#000000',
  },
}
SCSS
$custom: #340321;
$custom-light: #6e495c;
$custom-dark: #000000;
JSON
{
  "hex": "#340321",
  "rgb": {
    "r": 52,
    "g": 3,
    "b": 33
  },
  "hsl": {
    "h": 323.265,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21969,
    "c": 0.08484,
    "h": 348.4
  },
  "luminance": 0.00905
}

Semantic roles & 50–950 ramp

primary
#340321
secondary
#1C773F
accent
#FF7C29
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340321

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

Preview Lab → · Contrast checker → · Palette generator →

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