#2D181F#2D181F

#2D181F is a very dark, muted pink. Relative luminance 0.013; OKLCH L 24.0% C 0.035 H 358.6°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#2D181F
RGBrgb(45, 24, 31)
HSLhsl(340, 30%, 14%)
HSVhsv(340, 47%, 18%)
CMYKcmyk(0%, 46.7%, 31.1%, 82.4%)
CIE-LABlab(11.35, 11.75, -0.38)
CIE-LCHlch(11.35, 11.76, 358.13°)
OKLaboklab(24.03% 0.0354 -0.0008)
OKLCHoklch(24.03% 0.035 358.6)
XYZxyz(1.6562, 1.3102, 1.4617)
Luminance0.0131 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D181F #182D26
analogous
#2D1829 #2D181F #2D1B18
triadic
#2D181F #1F2D18 #181F2D
tetradic
#2D181F #292D18 #182D26 #1B182D
square
#2D181F #292D18 #182D26 #1B182D
split-complementary
#2D181F #182D1B #18292D
monochromatic
#140B0E #140B0E #2D181F #552D3A #7D4356

Accessibility & contrast

On white

16.64
#2D181F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#2D181F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D181F
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D181F#FFFFFF#000000##FFFFFF
##2D181F1.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1C1F
Deuteranopia (green-blind)
#20201F
Tritanopia (blue-blind)
#30171A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2d181f;
/* rgb */ color: rgb(45, 24, 31);
/* oklch */ color: oklch(24.0% 0.035 358.6);
Tailwind
colors: {
  custom: {
    50: '#66555a',
    500: '#2d181f',
    950: '#000000',
  },
}
SCSS
$custom: #2d181f;
$custom-light: #66555a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d181f",
  "rgb": {
    "r": 45,
    "g": 24,
    "b": 31
  },
  "hsl": {
    "h": 340,
    "s": 30.435,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24032,
    "c": 0.03544,
    "h": 358.6
  },
  "luminance": 0.0131
}

Semantic roles & 50–950 ramp

primary
#2D181F
secondary
#3F6256
accent
#C7A561
background
#F6F4F5
surface
#EBE8E9
border
#C6C4C5
text
#060303
muted
#7A7878

Preview Lab

Preview with #2D181F

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

Preview Lab → · Contrast checker → · Palette generator →

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