#2C1828#2C1828

#2C1828 is a very dark, muted pink. Relative luminance 0.013; OKLCH L 24.3% C 0.042 H 334.4°. Best body text is #FFFFFF at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#2C1828
RGBrgb(44, 24, 40)
HSLhsl(312, 29%, 13%)
HSVhsv(312, 45%, 17%)
CMYKcmyk(0%, 45.5%, 9.1%, 82.7%)
CIE-LABlab(11.57, 13.17, -6.73)
CIE-LCHlch(11.57, 14.79, 332.93°)
OKLaboklab(24.29% 0.0377 -0.0181)
OKLCHoklch(24.29% 0.042 334.4)
XYZxyz(1.7483, 1.3420, 2.1740)
Luminance0.0134 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1828 #182C1C
analogous
#26182C #2C1828 #2C181E
triadic
#2C1828 #282C18 #18282C
tetradic
#2C1828 #2C2618 #182C1C #181E2C
square
#2C1828 #2C2618 #182C1C #181E2C
split-complementary
#2C1828 #1E2C18 #182C26
monochromatic
#140B12 #140B12 #2C1828 #542E4C #7B4370

Accessibility & contrast

On white

16.56
#2C1828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#2C1828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C1828
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1828#FFFFFF#000000##FFFFFF
##2C18281.0016.561.2716.56
#FFFFFF16.561.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181D29
Deuteranopia (green-blind)
#1D2027
Tritanopia (blue-blind)
#2E191E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #2c1828;
/* rgb */ color: rgb(44, 24, 40);
/* oklch */ color: oklch(24.3% 0.042 334.4);
Tailwind
colors: {
  custom: {
    50: '#655561',
    500: '#2c1828',
    950: '#000000',
  },
}
SCSS
$custom: #2c1828;
$custom-light: #655561;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1828",
  "rgb": {
    "r": 44,
    "g": 24,
    "b": 40
  },
  "hsl": {
    "h": 312,
    "s": 29.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24288,
    "c": 0.04183,
    "h": 334.4
  },
  "luminance": 0.01342
}

Semantic roles & 50–950 ramp

primary
#2C1828
secondary
#3F6046
accent
#C67662
background
#F6F4F5
surface
#EBE8E9
border
#C6C4C5
text
#060305
muted
#7A7879

Preview Lab

Preview with #2C1828

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

Preview Lab → · Contrast checker → · Palette generator →

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