#2A1224#2A1224

#2A1224 is a very dark, muted pink. Relative luminance 0.011; OKLCH L 22.5% C 0.049 H 337.3°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#2A1224
RGBrgb(42, 18, 36)
HSLhsl(315, 40%, 12%)
HSVhsv(315, 57%, 16%)
CMYKcmyk(0%, 57.1%, 14.3%, 83.5%)
CIE-LABlab(9.42, 15.56, -7.06)
CIE-LCHlch(9.42, 17.08, 335.59°)
OKLaboklab(22.54% 0.0453 -0.019)
OKLCHoklch(22.54% 0.049 337.3)
XYZxyz(1.4896, 1.0523, 1.7934)
Luminance0.0105 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1224 #122A18
analogous
#24122A #2A1224 #2A1218
triadic
#2A1224 #242A12 #12242A
tetradic
#2A1224 #2A2412 #122A18 #12182A
square
#2A1224 #2A2412 #122A18 #12182A
split-complementary
#2A1224 #182A12 #122A24
monochromatic
#150912 #150912 #2A1224 #552449 #80376D

Accessibility & contrast

On white

17.35
#2A1224 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2A1224 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1224
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1224#FFFFFF#000000##FFFFFF
##2A12241.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131825
Deuteranopia (green-blind)
#191C23
Tritanopia (blue-blind)
#2C1319
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2a1224;
/* rgb */ color: rgb(42, 18, 36);
/* oklch */ color: oklch(22.5% 0.049 337.3);
Tailwind
colors: {
  custom: {
    50: '#64505e',
    500: '#2a1224',
    950: '#000000',
  },
}
SCSS
$custom: #2a1224;
$custom-light: #64505e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1224",
  "rgb": {
    "r": 42,
    "g": 18,
    "b": 36
  },
  "hsl": {
    "h": 315,
    "s": 40,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22541,
    "c": 0.04907,
    "h": 337.3
  },
  "luminance": 0.01052
}

Semantic roles & 50–950 ramp

primary
#2A1224
secondary
#376141
accent
#D07658
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#050204
muted
#7A7879

Preview Lab

Preview with #2A1224

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

Preview Lab → · Contrast checker → · Palette generator →

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