#2A151F#2A151F

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

Color values

HEX#2A151F
RGBrgb(42, 21, 31)
HSLhsl(331, 33%, 12%)
HSVhsv(331, 50%, 16%)
CMYKcmyk(0%, 50%, 26.2%, 83.5%)
CIE-LABlab(10.01, 12.46, -2.41)
CIE-LCHlch(10.01, 12.70, 349.07°)
OKLaboklab(22.91% 0.0373 -0.0062)
OKLCHoklch(22.91% 0.038 350.5)
XYZxyz(1.4704, 1.1276, 1.4363)
Luminance0.0113 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A151F #152A20
analogous
#2A1529 #2A151F #2A1615
triadic
#2A151F #1F2A15 #151F2A
tetradic
#2A151F #292A15 #152A20 #16152A
square
#2A151F #292A15 #152A20 #16152A
split-complementary
#2A151F #152A16 #15292A
monochromatic
#140A0F #140A0F #2A151F #53293D #7C3E5B

Accessibility & contrast

On white

17.13
#2A151F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2A151F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A151F
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A151F#FFFFFF#000000##FFFFFF
##2A151F1.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17191F
Deuteranopia (green-blind)
#1C1D1E
Tritanopia (blue-blind)
#2D1419
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2a151f;
/* rgb */ color: rgb(42, 21, 31);
/* oklch */ color: oklch(22.9% 0.038 350.5);
Tailwind
colors: {
  custom: {
    50: '#64525a',
    500: '#2a151f',
    950: '#000000',
  },
}
SCSS
$custom: #2a151f;
$custom-light: #64525a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a151f",
  "rgb": {
    "r": 42,
    "g": 21,
    "b": 31
  },
  "hsl": {
    "h": 331.429,
    "s": 33.333,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22914,
    "c": 0.03778,
    "h": 350.5
  },
  "luminance": 0.01128
}

Semantic roles & 50–950 ramp

primary
#2A151F
secondary
#3B5F4E
accent
#C9965E
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#050203
muted
#7A7878

Preview Lab

Preview with #2A151F

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

Preview Lab → · Contrast checker → · Palette generator →

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