#342228#342228

#342228 is a dark, muted pink. Relative luminance 0.020; OKLCH L 27.6% C 0.029 H 357.5°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#342228
RGBrgb(52, 34, 40)
HSLhsl(340, 21%, 17%)
HSVhsv(340, 35%, 20%)
CMYKcmyk(0%, 34.6%, 23.1%, 79.6%)
CIE-LABlab(15.63, 9.76, -0.54)
CIE-LCHlch(15.63, 9.78, 356.84°)
OKLaboklab(27.64% 0.0292 -0.0013)
OKLCHoklch(27.64% 0.029 357.5)
XYZxyz(2.3712, 2.0274, 2.2735)
Luminance0.0203 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342228 #22342E
analogous
#342231 #342228 #342522
triadic
#342228 #283422 #222834
tetradic
#342228 #313422 #22342E #252234
square
#342228 #313422 #22342E #252234
split-complementary
#342228 #223425 #223134
monochromatic
#130C0E #130C0E #342228 #593A44 #7E5261

Accessibility & contrast

On white

14.94
#342228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#342228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342228
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342228#FFFFFF#000000##FFFFFF
##3422281.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242528
Deuteranopia (green-blind)
#282828
Tritanopia (blue-blind)
#372124
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #342228;
/* rgb */ color: rgb(52, 34, 40);
/* oklch */ color: oklch(27.6% 0.029 357.5);
Tailwind
colors: {
  custom: {
    50: '#6c5d61',
    500: '#342228',
    950: '#000000',
  },
}
SCSS
$custom: #342228;
$custom-light: #6c5d61;
$custom-dark: #000000;
JSON
{
  "hex": "#342228",
  "rgb": {
    "r": 52,
    "g": 34,
    "b": 40
  },
  "hsl": {
    "h": 340,
    "s": 20.93,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27644,
    "c": 0.02927,
    "h": 357.5
  },
  "luminance": 0.02027
}

Semantic roles & 50–950 ramp

primary
#342228
secondary
#4C665D
accent
#BDA26A
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#070405
muted
#7A7979

Preview Lab

Preview with #342228

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

Preview Lab → · Contrast checker → · Palette generator →

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