#3A423C#3A423C

#3A423C is a dark, near-neutral grey. Relative luminance 0.051; OKLCH L 37.0% C 0.015 H 153.2°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#3A423C
RGBrgb(58, 66, 60)
HSLhsl(135, 6%, 24%)
HSVhsv(135, 12%, 26%)
CMYKcmyk(12.1%, 0%, 9.1%, 74.1%)
CIE-LABlab(27.08, -4.69, 2.54)
CIE-LCHlch(27.08, 5.33, 151.61°)
OKLaboklab(36.96% -0.0131 0.0066)
OKLCHoklch(36.96% 0.015 153.2)
XYZxyz(4.5086, 5.1221, 5.0252)
Luminance0.0512 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A423C #423A40
analogous
#3C423A #3A423C #3A4240
triadic
#3A423C #3C3A42 #423C3A
tetradic
#3A423C #3A3C42 #423A40 #42403A
square
#3A423C #3A3C42 #423A40 #42403A
split-complementary
#3A423C #403A42 #423A3C
monochromatic
#0E100F #1D211E #3A423C #57635A #738377

Accessibility & contrast

On white

10.37
#3A423C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3A423C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A423C
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A423C#FFFFFF#000000##FFFFFF
##3A423C1.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42413C
Deuteranopia (green-blind)
#41403C
Tritanopia (blue-blind)
#394240
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3a423c;
/* rgb */ color: rgb(58, 66, 60);
/* oklch */ color: oklch(37.0% 0.015 153.2);
Tailwind
colors: {
  custom: {
    50: '#707671',
    500: '#3a423c',
    950: '#000000',
  },
}
SCSS
$custom: #3a423c;
$custom-light: #707671;
$custom-dark: #000000;
JSON
{
  "hex": "#3a423c",
  "rgb": {
    "r": 58,
    "g": 66,
    "b": 60
  },
  "hsl": {
    "h": 135,
    "s": 6.452,
    "l": 24.314
  },
  "oklch": {
    "l": 0.36965,
    "c": 0.01465,
    "h": 153.2
  },
  "luminance": 0.05122
}

Semantic roles & 50–950 ramp

primary
#3A423C
secondary
#71676E
accent
#78A2B0
background
#F6F7F6
surface
#ECEDEC
border
#C7C8C7
text
#070807
muted
#7A7B7A

Preview Lab

Preview with #3A423C

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

Preview Lab → · Contrast checker → · Palette generator →

#3A423C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva