#2A0C22#2A0C22

#2A0C22 is a very dark, muted pink. Relative luminance 0.009; OKLCH L 21.4% C 0.060 H 339.1°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#2A0C22
RGBrgb(42, 12, 34)
HSLhsl(316, 56%, 11%)
HSVhsv(316, 71%, 16%)
CMYKcmyk(0%, 71.4%, 19%, 83.5%)
CIE-LABlab(7.87, 18.96, -7.93)
CIE-LCHlch(7.87, 20.55, 337.31°)
OKLaboklab(21.35% 0.0559 -0.0213)
OKLCHoklch(21.35% 0.06 339.1)
XYZxyz(1.3751, 0.8708, 1.6087)
Luminance0.0087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A0C22 #0C2A14
analogous
#230C2A #2A0C22 #2A0C13
triadic
#2A0C22 #222A0C #0C222A
tetradic
#2A0C22 #2A230C #0C2A14 #0C132A
square
#2A0C22 #2A230C #0C2A14 #0C132A
split-complementary
#2A0C22 #132A0C #0C2A23
monochromatic
#180713 #180713 #2A0C22 #5A1A49 #89276F

Accessibility & contrast

On white

17.88
#2A0C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#2A0C22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A0C22
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A0C22#FFFFFF#000000##FFFFFF
##2A0C221.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1423
Deuteranopia (green-blind)
#161921
Tritanopia (blue-blind)
#2D0D15
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #2a0c22;
/* rgb */ color: rgb(42, 12, 34);
/* oklch */ color: oklch(21.4% 0.060 339.1);
Tailwind
colors: {
  custom: {
    50: '#654c5d',
    500: '#2a0c22',
    950: '#000000',
  },
}
SCSS
$custom: #2a0c22;
$custom-light: #654c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a0c22",
  "rgb": {
    "r": 42,
    "g": 12,
    "b": 34
  },
  "hsl": {
    "h": 316,
    "s": 55.556,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21352,
    "c": 0.05985,
    "h": 339.1
  },
  "luminance": 0.00871
}

Semantic roles & 50–950 ramp

primary
#2A0C22
secondary
#2D653C
accent
#DF7149
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060104
muted
#7A7779

Preview Lab

Preview with #2A0C22

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

Preview Lab → · Contrast checker → · Palette generator →

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