#2D332F#2D332F

#2D332F is a dark, near-neutral grey. Relative luminance 0.031; OKLCH L 31.4% C 0.011 H 156.5°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#2D332F
RGBrgb(45, 51, 47)
HSLhsl(140, 6%, 19%)
HSVhsv(140, 12%, 20%)
CMYKcmyk(11.8%, 0%, 7.8%, 80%)
CIE-LABlab(20.56, -3.55, 1.66)
CIE-LCHlch(20.56, 3.92, 154.96°)
OKLaboklab(31.39% -0.01 0.0043)
OKLCHoklch(31.39% 0.011 156.5)
XYZxyz(2.7790, 3.1307, 3.1467)
Luminance0.0313 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D332F #332D31
analogous
#2E332D #2D332F #2D3332
triadic
#2D332F #2F2D33 #332F2D
tetradic
#2D332F #2D2E33 #332D31 #33322D
square
#2D332F #2D2E33 #332D31 #33322D
split-complementary
#2D332F #322D33 #332D2E
monochromatic
#0E100F #101211 #2D332F #4A544D #66746B

Accessibility & contrast

On white

12.91
#2D332F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2D332F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D332F
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D332F#FFFFFF#000000##FFFFFF
##2D332F1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33322F
Deuteranopia (green-blind)
#32312F
Tritanopia (blue-blind)
#2C3332
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2d332f;
/* rgb */ color: rgb(45, 51, 47);
/* oklch */ color: oklch(31.4% 0.011 156.5);
Tailwind
colors: {
  custom: {
    50: '#656a67',
    500: '#2d332f',
    950: '#000000',
  },
}
SCSS
$custom: #2d332f;
$custom-light: #656a67;
$custom-dark: #000000;
JSON
{
  "hex": "#2d332f",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 47
  },
  "hsl": {
    "h": 140,
    "s": 6.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.31386,
    "c": 0.01087,
    "h": 156.5
  },
  "luminance": 0.03131
}

Semantic roles & 50–950 ramp

primary
#2D332F
secondary
#625A5F
accent
#789DAF
background
#F6F6F6
surface
#EBEBEB
border
#C6C6C6
text
#050606
muted
#7A7A7A

Preview Lab

Preview with #2D332F

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

Preview Lab → · Contrast checker → · Palette generator →

#2D332F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva