#2A151E#2A151E

#2A151E is a very dark, muted pink. Relative luminance 0.011; OKLCH L 22.9% C 0.037 H 353.2°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#2A151E
RGBrgb(42, 21, 30)
HSLhsl(334, 33%, 12%)
HSVhsv(334, 50%, 16%)
CMYKcmyk(0%, 50%, 28.6%, 83.5%)
CIE-LABlab(9.97, 12.27, -1.71)
CIE-LCHlch(9.97, 12.39, 352.05°)
OKLaboklab(22.87% 0.0368 -0.0044)
OKLCHoklch(22.87% 0.037 353.2)
XYZxyz(1.4574, 1.1224, 1.3679)
Luminance0.0112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A151E #152A21
analogous
#2A1529 #2A151E #2A1715
triadic
#2A151E #1E2A15 #151E2A
tetradic
#2A151E #292A15 #152A21 #17152A
square
#2A151E #292A15 #152A21 #17152A
split-complementary
#2A151E #152A17 #15292A
monochromatic
#140A0F #140A0F #2A151E #53293B #7C3E58

Accessibility & contrast

On white

17.15
#2A151E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A151E
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A151E#FFFFFF#000000##FFFFFF
##2A151E1.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17191E
Deuteranopia (green-blind)
#1D1D1D
Tritanopia (blue-blind)
#2D1418
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2a151e;
/* rgb */ color: rgb(42, 21, 30);
/* oklch */ color: oklch(22.9% 0.037 353.2);
Tailwind
colors: {
  custom: {
    50: '#645259',
    500: '#2a151e',
    950: '#000000',
  },
}
SCSS
$custom: #2a151e;
$custom-light: #645259;
$custom-dark: #000000;
JSON
{
  "hex": "#2a151e",
  "rgb": {
    "r": 42,
    "g": 21,
    "b": 30
  },
  "hsl": {
    "h": 334.286,
    "s": 33.333,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2287,
    "c": 0.03708,
    "h": 353.2
  },
  "luminance": 0.01122
}

Semantic roles & 50–950 ramp

primary
#2A151E
secondary
#3B5F50
accent
#C99C5E
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#050203
muted
#7A7878

Preview Lab

Preview with #2A151E

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

Preview Lab → · Contrast checker → · Palette generator →

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