#342830#342830

#342830 is a dark, muted pink. Relative luminance 0.025; OKLCH L 29.4% C 0.022 H 338.7°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#342830
RGBrgb(52, 40, 48)
HSLhsl(320, 13%, 18%)
HSVhsv(320, 23%, 20%)
CMYKcmyk(0%, 23.1%, 7.7%, 79.6%)
CIE-LABlab(17.74, 7.28, -3.08)
CIE-LCHlch(17.74, 7.91, 337.08°)
OKLaboklab(29.37% 0.0209 -0.0081)
OKLCHoklch(29.37% 0.022 338.7)
XYZxyz(2.7084, 2.4611, 3.1281)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342830 #28342C
analogous
#322834 #342830 #34282A
triadic
#342830 #303428 #283034
tetradic
#342830 #343228 #28342C #282A34
square
#342830 #343228 #28342C #282A34
split-complementary
#342830 #2A3428 #283432
monochromatic
#110D10 #110D10 #342830 #574350 #795D70

Accessibility & contrast

On white

14.07
#342830 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#342830 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342830
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342830#FFFFFF#000000##FFFFFF
##3428301.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282A30
Deuteranopia (green-blind)
#2B2C30
Tritanopia (blue-blind)
#35282B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #342830;
/* rgb */ color: rgb(52, 40, 48);
/* oklch */ color: oklch(29.4% 0.022 338.7);
Tailwind
colors: {
  custom: {
    50: '#6b6168',
    500: '#342830',
    950: '#000000',
  },
}
SCSS
$custom: #342830;
$custom-light: #6b6168;
$custom-dark: #000000;
JSON
{
  "hex": "#342830",
  "rgb": {
    "r": 52,
    "g": 40,
    "b": 48
  },
  "hsl": {
    "h": 320,
    "s": 13.043,
    "l": 18.039
  },
  "oklch": {
    "l": 0.29368,
    "c": 0.02244,
    "h": 338.7
  },
  "luminance": 0.02461
}

Semantic roles & 50–950 ramp

primary
#342830
secondary
#546459
accent
#B68972
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#060506
muted
#7A797A

Preview Lab

Preview with #342830

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

Preview Lab → · Contrast checker → · Palette generator →

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