#2C1127#2C1127

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

Color values

HEX#2C1127
RGBrgb(44, 17, 39)
HSLhsl(311, 44%, 12%)
HSVhsv(311, 61%, 17%)
CMYKcmyk(0%, 61.4%, 11.4%, 82.7%)
CIE-LABlab(9.66, 17.66, -8.90)
CIE-LCHlch(9.66, 19.78, 333.26°)
OKLaboklab(22.85% 0.051 -0.0241)
OKLCHoklch(22.85% 0.056 334.7)
XYZxyz(1.6054, 1.0830, 2.0435)
Luminance0.0108 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C1127 #112C16
analogous
#24112C #2C1127 #2C111A
triadic
#2C1127 #272C11 #11272C
tetradic
#2C1127 #2C2411 #112C16 #111A2C
square
#2C1127 #2C2411 #112C16 #111A2C
split-complementary
#2C1127 #1A2C11 #112C24
monochromatic
#160914 #160914 #2C1127 #58224E #843375

Accessibility & contrast

On white

17.26
#2C1127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C1127
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C1127#FFFFFF#000000##FFFFFF
##2C11271.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111828
Deuteranopia (green-blind)
#191C26
Tritanopia (blue-blind)
#2E121A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #2c1127;
/* rgb */ color: rgb(44, 17, 39);
/* oklch */ color: oklch(22.8% 0.056 334.7);
Tailwind
colors: {
  custom: {
    50: '#665061',
    500: '#2c1127',
    950: '#000000',
  },
}
SCSS
$custom: #2c1127;
$custom-light: #665061;
$custom-dark: #000000;
JSON
{
  "hex": "#2c1127",
  "rgb": {
    "r": 44,
    "g": 17,
    "b": 39
  },
  "hsl": {
    "h": 311.111,
    "s": 44.262,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22846,
    "c": 0.05642,
    "h": 334.7
  },
  "luminance": 0.01083
}

Semantic roles & 50–950 ramp

primary
#2C1127
secondary
#35643D
accent
#D46C54
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#060205
muted
#7A7879

Preview Lab

Preview with #2C1127

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

Preview Lab → · Contrast checker → · Palette generator →

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