#2A1018#2A1018

#2A1018 is a very dark, muted pink. Relative luminance 0.009; OKLCH L 21.6% C 0.044 H 2.0°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#2A1018
RGBrgb(42, 16, 24)
HSLhsl(342, 45%, 11%)
HSVhsv(342, 62%, 16%)
CMYKcmyk(0%, 61.9%, 42.9%, 83.5%)
CIE-LABlab(8.38, 14.62, 0.52)
CIE-LCHlch(8.38, 14.63, 2.03°)
OKLaboklab(21.59% 0.0444 0.0015)
OKLCHoklch(21.59% 0.044 2)
XYZxyz(1.3051, 0.9289, 0.9745)
Luminance0.0093 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A1018 #102A22
analogous
#2A1025 #2A1018 #2A1510
triadic
#2A1018 #182A10 #10182A
tetradic
#2A1018 #252A10 #102A22 #15102A
square
#2A1018 #252A10 #102A22 #15102A
split-complementary
#2A1018 #102A15 #10252A
monochromatic
#16080D #16080D #2A1018 #562131 #83324B

Accessibility & contrast

On white

17.71
#2A1018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#2A1018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A1018
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A1018#FFFFFF#000000##FFFFFF
##2A10181.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141518
Deuteranopia (green-blind)
#1B1A17
Tritanopia (blue-blind)
#2E0E13
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #2a1018;
/* rgb */ color: rgb(42, 16, 24);
/* oklch */ color: oklch(21.6% 0.044 2.0);
Tailwind
colors: {
  custom: {
    50: '#654f54',
    500: '#2a1018',
    950: '#000000',
  },
}
SCSS
$custom: #2a1018;
$custom-light: #654f54;
$custom-dark: #000000;
JSON
{
  "hex": "#2a1018",
  "rgb": {
    "r": 42,
    "g": 16,
    "b": 24
  },
  "hsl": {
    "h": 341.538,
    "s": 44.828,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21594,
    "c": 0.04446,
    "h": 2
  },
  "luminance": 0.00929
}

Semantic roles & 50–950 ramp

primary
#2A1018
secondary
#336254
accent
#D5AD53
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060202
muted
#7A7878

Preview Lab

Preview with #2A1018

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

Preview Lab → · Contrast checker → · Palette generator →

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