#2C181E#2C181E

#2C181E is a very dark, muted pink. Relative luminance 0.013; OKLCH L 23.8% C 0.033 H 0.5°. Best body text is #FFFFFF at 16.71:1 contrast (WCAG AA passes).

Color values

HEX#2C181E
RGBrgb(44, 24, 30)
HSLhsl(342, 29%, 13%)
HSVhsv(342, 45%, 17%)
CMYKcmyk(0%, 45.5%, 31.8%, 82.7%)
CIE-LABlab(11.15, 11.10, 0.06)
CIE-LCHlch(11.15, 11.10, 0.30°)
OKLaboklab(23.84% 0.0335 0.0003)
OKLCHoklch(23.84% 0.033 0.5)
XYZxyz(1.5997, 1.2826, 1.3913)
Luminance0.0128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C181E #182C26
analogous
#2C1828 #2C181E #2C1C18
triadic
#2C181E #1E2C18 #181E2C
tetradic
#2C181E #282C18 #182C26 #1C182C
square
#2C181E #282C18 #182C26 #1C182C
split-complementary
#2C181E #182C1C #18282C
monochromatic
#140B0D #140B0D #2C181E #542E39 #7B4354

Accessibility & contrast

On white

16.71
#2C181E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C181E
16.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C181E#FFFFFF#000000##FFFFFF
##2C181E1.0016.711.2616.71
#FFFFFF16.711.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1C1E
Deuteranopia (green-blind)
#201F1E
Tritanopia (blue-blind)
#2F171A
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #2c181e;
/* rgb */ color: rgb(44, 24, 30);
/* oklch */ color: oklch(23.8% 0.033 0.5);
Tailwind
colors: {
  custom: {
    50: '#665559',
    500: '#2c181e',
    950: '#000000',
  },
}
SCSS
$custom: #2c181e;
$custom-light: #665559;
$custom-dark: #000000;
JSON
{
  "hex": "#2c181e",
  "rgb": {
    "r": 44,
    "g": 24,
    "b": 30
  },
  "hsl": {
    "h": 342,
    "s": 29.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23838,
    "c": 0.03349,
    "h": 0.5
  },
  "luminance": 0.01282
}

Semantic roles & 50–950 ramp

primary
#2C181E
secondary
#3F6056
accent
#C6A862
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060303
muted
#7A7878

Preview Lab

Preview with #2C181E

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

Preview Lab → · Contrast checker → · Palette generator →

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