#2C1126#2C1126

#2C1126 is a very dark, muted pink. Relative luminance 0.011; OKLCH L 22.8% C 0.055 H 336.3°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#2C1126
RGBrgb(44, 17, 38)
HSLhsl(313, 44%, 12%)
HSVhsv(313, 61%, 17%)
CMYKcmyk(0%, 61.4%, 13.6%, 82.7%)
CIE-LABlab(9.61, 17.45, -8.23)
CIE-LCHlch(9.61, 19.30, 334.74°)
OKLaboklab(22.79% 0.0507 -0.0222)
OKLCHoklch(22.79% 0.055 336.3)
XYZxyz(1.5890, 1.0764, 1.9574)
Luminance0.0108 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1126 #112C17
analogous
#25112C #2C1126 #2C1119
triadic
#2C1126 #262C11 #11262C
tetradic
#2C1126 #2C2511 #112C17 #11192C
square
#2C1126 #2C2511 #112C17 #11192C
split-complementary
#2C1126 #192C11 #112C25
monochromatic
#160913 #160913 #2C1126 #58224C #843372

Accessibility & contrast

On white

17.28
#2C1126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C1126
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1126#FFFFFF#000000##FFFFFF
##2C11261.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111827
Deuteranopia (green-blind)
#191C25
Tritanopia (blue-blind)
#2E1219
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c1126;
/* rgb */ color: rgb(44, 17, 38);
/* oklch */ color: oklch(22.8% 0.055 336.3);
Tailwind
colors: {
  custom: {
    50: '#665060',
    500: '#2c1126',
    950: '#000000',
  },
}
SCSS
$custom: #2c1126;
$custom-light: #665060;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1126",
  "rgb": {
    "r": 44,
    "g": 17,
    "b": 38
  },
  "hsl": {
    "h": 313.333,
    "s": 44.262,
    "l": 11.961
  },
  "oklch": {
    "l": 0.2279,
    "c": 0.05537,
    "h": 336.3
  },
  "luminance": 0.01076
}

Semantic roles & 50–950 ramp

primary
#2C1126
secondary
#35643F
accent
#D47054
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060204
muted
#7A7879

Preview Lab

Preview with #2C1126

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

Preview Lab → · Contrast checker → · Palette generator →

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