#2A151C#2A151C

#2A151C is a very dark, muted pink. Relative luminance 0.011; OKLCH L 22.8% C 0.036 H 358.9°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#2A151C
RGBrgb(42, 21, 28)
HSLhsl(340, 33%, 12%)
HSVhsv(340, 50%, 16%)
CMYKcmyk(0%, 50%, 33.3%, 83.5%)
CIE-LABlab(9.90, 11.89, -0.32)
CIE-LCHlch(9.90, 11.90, 358.45°)
OKLaboklab(22.79% 0.0359 -0.0007)
OKLCHoklch(22.79% 0.036 358.9)
XYZxyz(1.4327, 1.1125, 1.2377)
Luminance0.0111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A151C #152A23
analogous
#2A1527 #2A151C #2A1915
triadic
#2A151C #1C2A15 #151C2A
tetradic
#2A151C #272A15 #152A23 #19152A
square
#2A151C #272A15 #152A23 #19152A
split-complementary
#2A151C #152A19 #15272A
monochromatic
#140A0E #140A0E #2A151C #532937 #7C3E52

Accessibility & contrast

On white

17.18
#2A151C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#2A151C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A151C
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A151C#FFFFFF#000000##FFFFFF
##2A151C1.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18191C
Deuteranopia (green-blind)
#1D1D1C
Tritanopia (blue-blind)
#2D1417
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2a151c;
/* rgb */ color: rgb(42, 21, 28);
/* oklch */ color: oklch(22.8% 0.036 358.9);
Tailwind
colors: {
  custom: {
    50: '#645257',
    500: '#2a151c',
    950: '#000000',
  },
}
SCSS
$custom: #2a151c;
$custom-light: #645257;
$custom-dark: #000000;
JSON
{
  "hex": "#2a151c",
  "rgb": {
    "r": 42,
    "g": 21,
    "b": 28
  },
  "hsl": {
    "h": 340,
    "s": 33.333,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22787,
    "c": 0.03591,
    "h": 358.9
  },
  "luminance": 0.01112
}

Semantic roles & 50–950 ramp

primary
#2A151C
secondary
#3B5F53
accent
#C9A65E
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#050203
muted
#7A7878

Preview Lab

Preview with #2A151C

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

Preview Lab → · Contrast checker → · Palette generator →

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