#2A2428#2A2428

#2A2428 is a dark, near-neutral grey. Relative luminance 0.019; OKLCH L 26.9% C 0.011 H 338.1°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#2A2428
RGBrgb(42, 36, 40)
HSLhsl(320, 8%, 15%)
HSVhsv(320, 14%, 16%)
CMYKcmyk(0%, 14.3%, 4.8%, 83.5%)
CIE-LABlab(14.99, 3.73, -1.62)
CIE-LCHlch(14.99, 4.06, 336.48°)
OKLaboklab(26.86% 0.0106 -0.0043)
OKLCHoklch(26.86% 0.011 338.1)
XYZxyz(1.9687, 1.9072, 2.2715)
Luminance0.0191 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2428 #242A26
analogous
#29242A #2A2428 #2A2425
triadic
#2A2428 #282A24 #24282A
tetradic
#2A2428 #2A2924 #242A26 #24252A
square
#2A2428 #2A2924 #242A26 #24252A
split-complementary
#2A2428 #252A24 #242A29
monochromatic
#100E10 #100E10 #2A2428 #4B4047 #6C5C67

Accessibility & contrast

On white

15.20
#2A2428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#2A2428 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2428
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2428#FFFFFF#000000##FFFFFF
##2A24281.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242528
Deuteranopia (green-blind)
#252628
Tritanopia (blue-blind)
#2B2425
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2a2428;
/* rgb */ color: rgb(42, 36, 40);
/* oklch */ color: oklch(26.9% 0.011 338.1);
Tailwind
colors: {
  custom: {
    50: '#635e61',
    500: '#2a2428',
    950: '#000000',
  },
}
SCSS
$custom: #2a2428;
$custom-light: #635e61;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2428",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 40
  },
  "hsl": {
    "h": 320,
    "s": 7.692,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26859,
    "c": 0.01146,
    "h": 338.1
  },
  "luminance": 0.01907
}

Semantic roles & 50–950 ramp

primary
#2A2428
secondary
#505953
accent
#B18A77
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050405
muted
#797979

Preview Lab

Preview with #2A2428

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

Preview Lab → · Contrast checker → · Palette generator →

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