#2C0112#2C0112

#2C0112 is a very dark, moderate pink. Relative luminance 0.006; OKLCH L 19.2% C 0.074 H 1.2°. Best body text is #FFFFFF at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#2C0112
RGBrgb(44, 1, 18)
HSLhsl(336, 96%, 9%)
HSVhsv(336, 98%, 17%)
CMYKcmyk(0%, 97.7%, 59.1%, 82.7%)
CIE-LABlab(5.43, 22.71, 0.39)
CIE-LCHlch(5.43, 22.72, 0.98°)
OKLaboklab(19.16% 0.0744 0.0016)
OKLCHoklch(19.16% 0.074 1.2)
XYZxyz(1.1588, 0.6010, 0.6271)
Luminance0.0060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C0112 #012C1B
analogous
#2C0128 #2C0112 #2C0601
triadic
#2C0112 #122C01 #01122C
tetradic
#2C0112 #282C01 #012C1B #06012C
square
#2C0112 #282C01 #012C1B #06012C
split-complementary
#2C0112 #012C06 #01282C
monochromatic
#1E010C #1E010C #2C0112 #68022A #A40443

Accessibility & contrast

On white

18.75
#2C0112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#2C0112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C0112
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C0112#FFFFFF#000000##FFFFFF
##2C01121.0018.751.1218.75
#FFFFFF18.751.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A0C12
Deuteranopia (green-blind)
#161511
Tritanopia (blue-blind)
#310007
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #2c0112;
/* rgb */ color: rgb(44, 1, 18);
/* oklch */ color: oklch(19.2% 0.074 1.2);
Tailwind
colors: {
  custom: {
    50: '#684650',
    500: '#2c0112',
    950: '#000000',
  },
}
SCSS
$custom: #2c0112;
$custom-light: #684650;
$custom-dark: #000000;
JSON
{
  "hex": "#2c0112",
  "rgb": {
    "r": 44,
    "g": 1,
    "b": 18
  },
  "hsl": {
    "h": 336.279,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.1916,
    "c": 0.07443,
    "h": 1.2
  },
  "luminance": 0.00601
}

Semantic roles & 50–950 ramp

primary
#2C0112
secondary
#17724E
accent
#FFAA29
background
#F6F4F4
surface
#EBE6E7
border
#C6C2C3
text
#060002
muted
#7A7778

Preview Lab

Preview with #2C0112

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

Preview Lab → · Contrast checker → · Palette generator →

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