#2A121C#2A121C

#2A121C is a very dark, muted pink. Relative luminance 0.010; OKLCH L 22.2% C 0.042 H 354.7°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#2A121C
RGBrgb(42, 18, 28)
HSLhsl(335, 40%, 12%)
HSVhsv(335, 57%, 16%)
CMYKcmyk(0%, 57.1%, 33.3%, 83.5%)
CIE-LABlab(9.06, 13.97, -1.54)
CIE-LCHlch(9.06, 14.05, 353.69°)
OKLaboklab(22.16% 0.0422 -0.0039)
OKLCHoklch(22.16% 0.042 354.7)
XYZxyz(1.3808, 1.0088, 1.2204)
Luminance0.0101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A121C #122A20
analogous
#2A1228 #2A121C #2A1412
triadic
#2A121C #1C2A12 #121C2A
tetradic
#2A121C #282A12 #122A20 #14122A
square
#2A121C #282A12 #122A20 #14122A
split-complementary
#2A121C #122A14 #12282A
monochromatic
#15090E #15090E #2A121C #552439 #803755

Accessibility & contrast

On white

17.47
#2A121C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#2A121C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A121C
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A121C#FFFFFF#000000##FFFFFF
##2A121C1.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15171C
Deuteranopia (green-blind)
#1B1B1B
Tritanopia (blue-blind)
#2D1116
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2a121c;
/* rgb */ color: rgb(42, 18, 28);
/* oklch */ color: oklch(22.2% 0.042 354.7);
Tailwind
colors: {
  custom: {
    50: '#645057',
    500: '#2a121c',
    950: '#000000',
  },
}
SCSS
$custom: #2a121c;
$custom-light: #645057;
$custom-dark: #000000;
JSON
{
  "hex": "#2a121c",
  "rgb": {
    "r": 42,
    "g": 18,
    "b": 28
  },
  "hsl": {
    "h": 335,
    "s": 40,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22157,
    "c": 0.04233,
    "h": 354.7
  },
  "luminance": 0.01009
}

Semantic roles & 50–950 ramp

primary
#2A121C
secondary
#37614F
accent
#D09E58
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#050203
muted
#7A7878

Preview Lab

Preview with #2A121C

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

Preview Lab → · Contrast checker → · Palette generator →

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