#340323#340323

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

Color values

HEX#340323
RGBrgb(52, 3, 35)
HSLhsl(321, 89%, 11%)
HSVhsv(321, 94%, 20%)
CMYKcmyk(0%, 94.2%, 32.7%, 79.6%)
CIE-LABlab(8.28, 27.44, -7.88)
CIE-LCHlch(8.28, 28.55, 343.98°)
OKLaboklab(22.08% 0.0836 -0.0209)
OKLCHoklch(22.08% 0.086 345.9)
XYZxyz(1.7522, 0.9167, 1.6745)
Luminance0.0092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340323 #033414
analogous
#2C0334 #340323 #34030A
triadic
#340323 #233403 #032334
tetradic
#340323 #342C03 #033414 #030A34
square
#340323 #342C03 #033414 #030A34
split-complementary
#340323 #0A3403 #03342C
monochromatic
#1D0213 #1D0213 #340323 #6E064A #A80A71

Accessibility & contrast

On white

17.75
#340323 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340323
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340323#FFFFFF#000000##FFFFFF
##3403231.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091324
Deuteranopia (green-blind)
#191B22
Tritanopia (blue-blind)
#380212
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #340323;
/* rgb */ color: rgb(52, 3, 35);
/* oklch */ color: oklch(22.1% 0.086 345.9);
Tailwind
colors: {
  custom: {
    50: '#6e495d',
    500: '#340323',
    950: '#000000',
  },
}
SCSS
$custom: #340323;
$custom-light: #6e495d;
$custom-dark: #000000;
JSON
{
  "hex": "#340323",
  "rgb": {
    "r": 52,
    "g": 3,
    "b": 35
  },
  "hsl": {
    "h": 320.816,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22077,
    "c": 0.08616,
    "h": 345.9
  },
  "luminance": 0.00917
}

Semantic roles & 50–950 ramp

primary
#340323
secondary
#1C773B
accent
#FF7329
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #340323

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

Preview Lab → · Contrast checker → · Palette generator →

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