#2A2226#2A2226

#2A2226 is a dark, near-neutral pink. Relative luminance 0.018; OKLCH L 26.3% C 0.014 H 346.5°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#2A2226
RGBrgb(42, 34, 38)
HSLhsl(330, 11%, 15%)
HSVhsv(330, 19%, 16%)
CMYKcmyk(0%, 19%, 9.5%, 83.5%)
CIE-LABlab(14.27, 4.68, -1.26)
CIE-LCHlch(14.27, 4.85, 344.97°)
OKLaboklab(26.27% 0.0136 -0.0033)
OKLCHoklch(26.27% 0.014 346.5)
XYZxyz(1.8767, 1.7763, 2.0773)
Luminance0.0178 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2226 #222A26
analogous
#2A222A #2A2226 #2A2222
triadic
#2A2226 #262A22 #22262A
tetradic
#2A2226 #2A2A22 #222A26 #22222A
square
#2A2226 #2A2A22 #222A26 #22222A
split-complementary
#2A2226 #222A22 #222A2A
monochromatic
#110E0F #110E0F #2A2226 #4C3D45 #6E5963

Accessibility & contrast

On white

15.50
#2A2226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#2A2226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2226
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2226#FFFFFF#000000##FFFFFF
##2A22261.0015.501.3615.50
#FFFFFF15.501.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222326
Deuteranopia (green-blind)
#242526
Tritanopia (blue-blind)
#2B2223
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2a2226;
/* rgb */ color: rgb(42, 34, 38);
/* oklch */ color: oklch(26.3% 0.014 346.5);
Tailwind
colors: {
  custom: {
    50: '#635d60',
    500: '#2a2226',
    950: '#000000',
  },
}
SCSS
$custom: #2a2226;
$custom-light: #635d60;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2226",
  "rgb": {
    "r": 42,
    "g": 34,
    "b": 38
  },
  "hsl": {
    "h": 330,
    "s": 10.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.2627,
    "c": 0.01403,
    "h": 346.5
  },
  "luminance": 0.01776
}

Semantic roles & 50–950 ramp

primary
#2A2226
secondary
#4E5A54
accent
#B39474
background
#F5F5F5
surface
#EAE9E9
border
#C6C5C5
text
#050404
muted
#797979

Preview Lab

Preview with #2A2226

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

Preview Lab → · Contrast checker → · Palette generator →

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